[lworld] RFR: 8348606: [lworld] Substitutability test may perform heap allocations [v5]

Chen Liang liach at openjdk.org
Wed Apr 9 18:17:52 UTC 2025


On Wed, 9 Apr 2025 12:52:14 GMT, Chen Liang <liach at openjdk.org> wrote:

>> Update substitutability test to use MethodHandles that access independent primitive/pointer instead heap reallocated copies of inlined values with an object header. Need long-term solution for user MethodHandle that accesses nested values in the future; hope the intrinsics can help in the future.
>> 
>> Testing: test/jdk/valhalla and test/hotspot/jtreg/*/valhalla, tier 1-3 tests running.
>
> Chen Liang has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Remove obsolete annotation

`compiler/valhalla/inlinetypes/TestNullableInlineTypes.java` seems to have some problem with aarch64 with `-ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:-TieredCompilation` flags on mac and linux, but I don't know what exactly causes it. No other failure. Guess I am integrating for now.

-------------

PR Comment: https://git.openjdk.org/valhalla/pull/1364#issuecomment-2790559502


More information about the valhalla-dev mailing list