hg: valhalla/valhalla/hotspot: Implemented scalar replacement and re-allocation for VT arrays

tobias.hartmann at oracle.com tobias.hartmann at oracle.com
Wed Feb 15 08:41:44 UTC 2017


Changeset: ff2439741c86
Author:    thartmann
Date:      2017-02-15 09:41 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/hotspot/rev/ff2439741c86

Implemented scalar replacement and re-allocation for VT arrays
Summary:
- Fixed wrong return value in AddPNode::Value()
- Basic version of ValueArrayKlass::oop_print_on() for debugging
- Fixed escape analysis to keep track of the field being accessed in VT arrays
- Re-enabled asserts in graphKit.cpp and memnode.cpp
- Implemented scalar replacement for flattened value type arrays
- Implemented re-allocation of scalar replaced value type arrays on deoptimization
- Refactored valuetypenode.cpp and related code
- Refactored test bench to use flags from jtreg command line instead of hard-coding command line options
- Enabled/added corresponding regression tests and match rules
Reviewed-by: dsimms, roland

! src/share/vm/memory/oopFactory.cpp
! src/share/vm/oops/instanceKlass.cpp
! src/share/vm/oops/valueArrayKlass.cpp
! src/share/vm/oops/valueArrayKlass.hpp
! src/share/vm/opto/addnode.cpp
! src/share/vm/opto/escape.cpp
! src/share/vm/opto/graphKit.cpp
! src/share/vm/opto/macro.cpp
! src/share/vm/opto/macro.hpp
! src/share/vm/opto/memnode.cpp
! src/share/vm/opto/parse2.cpp
! src/share/vm/opto/parse3.cpp
! src/share/vm/opto/type.cpp
! src/share/vm/opto/valuetypenode.cpp
! src/share/vm/opto/valuetypenode.hpp
! src/share/vm/runtime/deoptimization.cpp
! src/share/vm/runtime/deoptimization.hpp
! src/share/vm/runtime/fieldDescriptor.cpp
! test/compiler/valhalla/valuetypes/ValueTypeTestBench.java



More information about the valhalla-dev mailing list