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

Running SPECjbb2k5 with -XX:+UseBiasedLocking flag causes the 64bit VM NullPointerException throws

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 5.0u6
    • Fix Version/s: 5.0u8
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_xp

      Description

      J2SE Version (please include all output from java -version flag):
        1.5.0_06-b04

      Does this problem occur on J2SE 1.4.x or 5.0.x ?
        Yes

      Operating System Configuration Information (be specific):
        64-bit Windows 2003 Ent.

      Hardware Configuration Information (be specific):
        Board: Tyan 2882-D
        Memory: 8X 1G
        Proc: 2X Opteron 880

      Bug Description:
        -XX:+UseBiasedLocking causes the 64bit VM (1.5.0 update 6) to spew out
        the following error.

      Error:
      #
      # C:\jbb2005>c:\java\SUN64\bin\java –fullversion
      # Java full version "1.5.0_06-b04"
      # Using CLASSPATH entries:
      # .\jbb.jar
      # .\check.jar
      #
      # C:\jbb2005>c:\java\SUN64\bin\java -server -Xmn2457m -Xms3686m -Xmx3686m -Xss256k -XX:+UseParallelGC -XX:+UseParallelOldGC -XX:+UseBiasedLocking -XX:+AggressiveOpts spec.jbb.JBBmain -propfile SPECjbb.props

      # Exception in thread "main" java.lang.NullPointerException
      # at java.util.HashMap.addEntry(HashMap.java:743)
      # at java.util.HashMap.put(HashMap.java:395)
      # at sun.security.util.ManifestDigester.<init>(ManifestDigester.java:152)
      # at java.util.jar.JarVerifier.processEntry(JarVerifier.java:249)
      # at java.util.jar.JarVerifier.update(JarVerifier.java:188)
      # at java.util.jar.JarFile.initializeVerifier(JarFile.java:320)
      # at java.util.jar.JarFile.getInputStream(JarFile.java:385)
      # at sun.misc.URLClassPath$JarLoader$1.getInputStream(URLClassPath.java:620)
      # at sun.misc.Resource.cachedInputStream(Resource.java:58)
      # at sun.misc.Resource.getByteBuffer(Resource.java:113)
      # at java.net.URLClassLoader.defineClass(URLClassLoader.java:249)
      # at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
      # at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
      # at java.security.AccessController.doPrivileged(Native Method)
      # at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
      # at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
      # at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
      # at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
      # at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)


      Steps to Reproduce (be specific):
        try the command line - use the -XX:+UseBiasedLocking option on a 64bitOS using Opteron.
       e.g - java -server -Xmn2457m -Xms3686m -Xmx3686m -Xss256k -XX:+UseParallelGC -XX:+UseParallelOldGC -XX:+UseBiasedLocking -XX:+AggressiveOpts spec.jbb.JBBmain -propfile SPECjbb.props

        Attachments

          Activity

            People

            • Assignee:
              kbr Kenneth Russell (Inactive)
              Reporter:
              tyao Ting-Yun Ingrid Yao (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: