IBM Support

IV82800: UNEXPECTED EXCEPTION THROWN BY JVM WHEN LOCKWORD MODE IS CHANGED

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: Exception in thread "(unnamed thread)"
    java/lang/ExceptionInInitializerError
            at java/lang/J9VMInternals.ensureError
    (J9VMInternals.java:137)
            at java/lang/J9VMInternals.recordInitializationFailure
    (J9VMInternals.java:126)
            at com/ibm/oti/util/Msg.<clinit> (Msg.java:51)
            at java/lang/invoke/MethodHandles$Lookup.<init>
    (MethodHandles.java:102)
            at java/lang/invoke/MethodHandles$Lookup.<clinit>
    (MethodHandles.java:87)
    java/lang/IllegalArgumentException: name can't be empty
            at java/security/BasicPermission.init
    (BasicPermission.java:105)
            at java/security/BasicPermission.<init>
    (BasicPermission.java:142)
            at java/security/SecurityPermission.<init>
    (SecurityPermission.java:341)
            at java/security/AccessController.<clinit>
    (AccessController.java:30)
            at com/ibm/oti/util/Msg.<clinit> (Msg.java:51)
            at java/lang/invoke/MethodHandles$Lookup.<init>
    (MethodHandles.java:102)
            at java/lang/invoke/MethodHandles$Lookup.<clinit>
    (MethodHandles.java:87)
    .
    Stack Trace: N/A
    .
    

Local fix

  • If the Lock Word Mode changes, clear the Shared Class Cache
    first using -Xshareclasses:destroyAll.
    

Problem summary

  • The problem is caused only when running under -Xshareclasses
    when -Xlockword:mode changes between the run when the JVM
    populates the Shared Class Cache and the run when the JVM loads
    from the Shared Class Cache.
    

Problem conclusion

  • The JVM has been updated to verify that the Shared Class Cache
    was populated under the same Lock Word Mode before loading from
    it.
    .
    This APAR will be fixed in the following Java Releases:
       8    SR3       (8.0.3.0)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the available
    Service Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV82800

  • Reported component name

    JIT

  • Reported component ID

    620700124

  • Reported release

    130

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-03-18

  • Closed date

    2016-03-18

  • Last modified date

    2016-03-18

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    JIT

  • Fixed component ID

    620700124

Applicable component levels

  • R130 PSY

       UP

[{"Line of Business":{"code":"LOB36","label":"IBM Automation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"130"}]

Document Information

Modified date:
10 September 2020