-
Enhancement
-
Resolution: Duplicate
-
P4
-
repo-valhalla
- Unsafe.makePrivateBuffer() can allocate a value object in mutable state by setting a larval state flag in its markword.
- Currently C2 compiler's SafePointScalarObjectNode does not propagate larval state information, thus during de-optimization a newly rematerialized instance does not carry valid larval state and this can cause problems during subsequent Unsafe.put operations by interpreter.
- Currently C2 compiler's SafePointScalarObjectNode does not propagate larval state information, thus during de-optimization a newly rematerialized instance does not carry valid larval state and this can cause problems during subsequent Unsafe.put operations by interpreter.
- duplicates
-
JDK-8239003 [lworld] C2 should respect larval state when scalarizing
- Open