[lworld] RFR: 8271959: [lworld] Convert Optional and VBS classes to value class
Roger Riggs
rriggs at openjdk.org
Tue Feb 21 21:35:49 UTC 2023
Make copies of classes to be made value classes in src/java.base/valueclasses/classes
Modify CompileJavaModules.gmk to trigger builds of values classes and construct a .jar for each module.
Add the jar files to $JAVA_HOME/lib/valueclasses/<module\>-valueclasses.jar
Modify hotspot arguments.cpp to scan for patch jar files when --enable-preview and -XX:+EnableValhalla.
For each jar, the equivalent of --patch-module <module>=<path-to-jar> is added and the system properties `jdk.module.patch.<n>` include jar file paths.
-------------
Commit messages:
- Merge branch 'lworld' into try-double-build
- Cleanup make files generation of value classes
- Remove incomplete test ValueClassDepsTest.java.
- Merge branch 'lworld' into try-double-build
- Refactor to smaller methods and some cleanup.
- Modify command line argument handling to support both --patch-module
- Update build to generate selected value classes from corresponding core classes
- Added test that Valhalla classes modified to be value classes are
- When --enable-preview, scan the $HOME/lib/valueclasses/ directory
- Reimplemented build of value class overlay classes.
- ... and 1 more: https://git.openjdk.org/valhalla/compare/bc2c7c20...9fc43ba8
Changes: https://git.openjdk.org/valhalla/pull/816/files
Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=816&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8271959
Stats: 366 lines in 18 files changed: 326 ins; 31 del; 9 mod
Patch: https://git.openjdk.org/valhalla/pull/816.diff
Fetch: git fetch https://git.openjdk.org/valhalla pull/816/head:pull/816
PR: https://git.openjdk.org/valhalla/pull/816
More information about the valhalla-dev
mailing list