With the mainline fix for JDK-8317299, we should be able to remove the limitation that scalarization is only performed after all inlining is finished:
https://github.com/openjdk/valhalla/blob/c48006dfc05bb0c41ab9ae55ead226356259c46d/src/hotspot/share/opto/compile.cpp#L2002
https://github.com/openjdk/valhalla/blob/c48006dfc05bb0c41ab9ae55ead226356259c46d/src/hotspot/share/opto/compile.cpp#L2002
- relates to
-
JDK-8337557 [lworld] Prevent scalarization from keeping field loads live at safepoints
- Open
-
JDK-8317299 safepoint scalarization doesn't keep track of the depth of the JVM state
- Resolved