hg: valhalla/valhalla: [lworld] Fixed scalarization for flattened value type arrays

Tobias Hartmann tobias.hartmann at oracle.com
Tue Mar 27 16:00:06 UTC 2018


Trivial fix for scalarization of flattened value type arrays (resolves rare NPEs with some tests):
- The code scanning the memory chain for the array element value should use the element's offset
including the field offset for flattened value type arrays
- Printing of safepoint debug info should support flattened arrays
- Added test for scalarization of flattened value type array with memory phi

http://cr.openjdk.java.net/~thartmann/valhalla/lworld/array_scalarization/

Best regards,
Tobias

On 27.03.2018 17:54, tobias.hartmann at oracle.com wrote:
> Changeset: b82b45a1fae5
> Author:    thartmann
> Date:      2018-03-27 17:54 +0200
> URL:       http://hg.openjdk.java.net/valhalla/valhalla/rev/b82b45a1fae5
> 
> [lworld] Fixed scalarization for flattened value type arrays
> 
> ! src/hotspot/share/opto/addnode.cpp
> ! src/hotspot/share/opto/callnode.cpp
> ! src/hotspot/share/opto/machnode.cpp
> ! src/hotspot/share/opto/macro.cpp
> ! src/hotspot/share/opto/type.cpp
> ! src/hotspot/share/opto/type.hpp
> ! test/hotspot/jtreg/compiler/valhalla/valuetypes/TestArrays.java
> 


More information about the valhalla-dev mailing list