APAR status
Closed as program error.
Error description
Error Message: J2IThunkTable 'InvokeExactJ2IThunkTable':ERROR: Failed to find J2I thunk for LL signature (Ljava/lang/Object;)Ljava/lang/Object;Unhandled exceptionType=Segmentation error vmState=0x00000000(Note that the "LL" can be any sequences of the characters I, J, F, D, L, and V, depending on the signature.)Also, the program counter register "NIP" will contain the value 4: "NIP=0000000000000004" . Stack Trace: . Only occurs on Power platform. Only occurs when a method containing a call to java/lang/invoke/MethodHandle.invokeExact is compiled by the JIT compiler.
Local fix
Disable jit compilation of the methods containing the problematic MethodHandle calls.
Problem summary
The JIT compiler could occasionally generate calls to java/lang/invoke/MethodHandle.invokeExact without first generating the necessary fallback code ("j2i thunk") to handle the case when the receiver MethodHandle object has not yet been compiled. When checking whether the fallback code was required, the compiler was using an overly-specific test that failed to account for the effects of certain (valid) optimizations.
Problem conclusion
The compiler was changed to use the correct test, causing it to generate the fallback code in all required cases. . This APAR will be fixed in the following Java Releases: 7 R1 SR3 (7.1.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
IV72271
Reported component name
JIT
Reported component ID
620700124
Reported release
130
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2015-04-15
Closed date
2015-04-15
Last modified date
2015-04-21
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
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSC9HBA","label":"Just In Time (JIT) Compiler"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"130","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
21 April 2015