JDK-8238869 : [lworld] C2's slow path allocation does not set the larval bit
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: repo-valhalla
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-02-11
  • Updated: 2020-02-14
  • Resolved: 2020-02-14
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
repo-valhallaFixed
Related Reports
Relates :  
Description
#  Internal Error (/oracle/valhalla1/open/src/hotspot/share/prims/unsafe.cpp:238), pid=21507, tid=21508
#  assert(!_obj->is_value() || _obj->mark().is_larval_state()) failed: must be an object instance or a larval value

V  [libjvm.so+0x17b4a8e]  Unsafe_PutInt+0x26e
j  jdk.internal.misc.Unsafe.putInt(Ljava/lang/Object;JI)V+0 java.base
j  compiler.valhalla.valuetypes.TestIntrinsics.test56_callee(Qcompiler/valhalla/valuetypes/MyValue1;)V+10
J 456 c2 compiler.valhalla.valuetypes.TestIntrinsics.test56(Qcompiler/valhalla/valuetypes/MyValue1;)Qcompiler/valhalla/valuetypes/MyValue1; (29 bytes) @ 0x00007f7b78b2ee5c [0x00007f7b78b2ea40+0x000000000000041c]
j  compiler.valhalla.valuetypes.TestIntrinsics.test56_verifier(Z)V+18
j  jdk.internal.reflect.GeneratedMethodAccessor45.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+63
j  jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6 java.base
j  java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+59 java.base
j  compiler.valhalla.valuetypes.ValueTypeTest.run([Ljava/lang/Class;)V+785
j  compiler.valhalla.valuetypes.ValueTypeTest.run([Ljava/lang/String;[Ljava/lang/Class;)V+43
j  compiler.valhalla.valuetypes.TestIntrinsics.main([Ljava/lang/String;)V+29
Comments
http://hg.openjdk.java.net/valhalla/valhalla/rev/46fd5a8c2f5d
14-02-2020

http://cr.openjdk.java.net/~thartmann/8238869/webrev.00/
12-02-2020