hg: valhalla/valhalla: [lworld] Compiler cleanups part 2

Tobias Hartmann tobias.hartmann at oracle.com
Fri Mar 23 15:30:21 UTC 2018


Hi,

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

This patch fixes value type array support including:
- Removal of old v-bytecode specific code
- Fixed scalarization of value type arrays and strengthened IR verification rules in test
- Fixed default value optimization (if nested value type is recognized as default, the holder value
type should be added to the igvn worklist to give it a chance to get recognized as default as well)
- Refactored tests (also fixed tabs/whitespace errors)
- Removed test34 from TestBasicFunctionality because it is mixing L's and value types (I will re-add
it with an own test later)

All compiler tests pass now except for test5 and test6 in TestIntrinsics.java.

Please note that the compiler still does not support "mixing" value types and L's. All compiler
tests use exact (value) types. I'll work on this next.

Best regards,
Tobias

On 23.03.2018 16:27, tobias.hartmann at oracle.com wrote:
> Changeset: e008cad90214
> Author:    thartmann
> Date:      2018-03-23 16:27 +0100
> URL:       http://hg.openjdk.java.net/valhalla/valhalla/rev/e008cad90214
> 
> [lworld] Compiler cleanups part 2
> 
> ! src/hotspot/share/ci/bcEscapeAnalyzer.cpp
> ! src/hotspot/share/opto/arraycopynode.cpp
> ! src/hotspot/share/opto/macro.cpp
> ! src/hotspot/share/opto/parse.hpp
> ! src/hotspot/share/opto/parse2.cpp
> ! src/hotspot/share/opto/parseHelper.cpp
> ! src/hotspot/share/opto/type.cpp
> ! src/hotspot/share/opto/type.hpp
> ! src/hotspot/share/opto/valuetypenode.cpp
> ! test/hotspot/jtreg/compiler/valhalla/valuetypes/TestArrays.java
> ! test/hotspot/jtreg/compiler/valhalla/valuetypes/TestBasicFunctionality.java
> ! test/hotspot/jtreg/compiler/valhalla/valuetypes/TestCallingConvention.java
> ! test/hotspot/jtreg/compiler/valhalla/valuetypes/TestIntrinsics.java
> ! test/hotspot/jtreg/compiler/valhalla/valuetypes/TestMethodHandles.java
> ! test/hotspot/jtreg/compiler/valhalla/valuetypes/TestOnStackReplacement.java
> ! test/hotspot/jtreg/compiler/valhalla/valuetypes/ValueTypeTest.java
> ! test/hotspot/jtreg/runtime/valhalla/valuetypes/ValueOops.java
> ! test/hotspot/jtreg/runtime/valhalla/valuetypes/ValueTypeDensity.java
> 


More information about the valhalla-dev mailing list