Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8001181

-XX:PermSize does not work anymore for JNLP apps on Macosx

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Cannot Reproduce
    • Affects Version/s: 7u9
    • Fix Version/s: 7u40
    • Component/s: deploy
    • Subcomponent:
    • Introduced In Version:
      7u9
    • OS:
      os_x

      Backports

        Description

        java version "1.7.0_09"
          Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
          Java HotSpot(TM) 64-Bit Server VM (build 23.5-b02, mixed mode)

        Does this problem occur on J2SE 6ux or 7ux? Yes / No (pick one)
          7u9 only

        Operating System Configuration Information (be specific):
          MacOSX 10.7.5

        Hardware Configuration Information (be specific):
          Macbook Pro 17" (late 2011)
          Core i7 2nd Gen
          8GB DDR3
          128 SSD

        Bug Description:

        Here is the java element from the JNLP file.
        <java
            version="1.6.0+"
            initial-heap-size="128m"
            max-heap-size="768m"
            java-vm-args="-XX:PermSize=144m -XX:MaxPermSize=144m"/>

        This works correctly on Windows and on MAC using 7U7. However, in & update 9 on a MAC, it dies a horrible death...
        * Opening our jnlp from browser link
        * Java icon shows in the Dock
        * Jar files are verified
        * Application never starts

        The problem seems to be in one of the vm parameters. We noticed was that the -XX:PermSize is not (or no longer) supported, however, it does apparently still work on Windows.
        (VM parameter list: http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-1401)

        In any event, this is a difference between update 7 and update 9 on the MAC, and something different on a MAC than on Windows.

        Remove the -XX:PermSize option, and the problem with go away as well. However, not find another way to adjust this setting.

        Steps to Reproduce (be specific):

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  skovatch Scott Kovatch (Inactive)
                  Reporter:
                  tyao Ting-Yun Ingrid Yao (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: