> Currently JITTester only generates common, instance classes. This PR suggests > a value classes support for the tool. > > Specifically, it: > - adds a ValueKlass as an AST node carrier for the new type > - moves most of KlassFactory internals into generic AbstractKlassFactory > - adds smaller concrete KlassFactory and ValueKlassFactory. > - makes sure that we don't generate mutable fields in the value classes > - blocks synchronized usage on value-class methods > - raises probability to be abstract for the value classes - to check deeper > hierarchies. > - adds a parameter governing the balance between instance and value classes. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai).
Evgeny Nikitin has updated the pull request incrementally with two additional commits since the last revision: - Remove 'final' for the value classes - Grammar fix in comment ------------- Changes: - all: https://git.openjdk.org/valhalla/pull/2346/files - new: https://git.openjdk.org/valhalla/pull/2346/files/42442bac..40bb2ded Webrevs: - full: https://webrevs.openjdk.org/?repo=valhalla&pr=2346&range=01 - incr: https://webrevs.openjdk.org/?repo=valhalla&pr=2346&range=00-01 Stats: 2 lines in 2 files changed: 0 ins; 1 del; 1 mod Patch: https://git.openjdk.org/valhalla/pull/2346.diff Fetch: git fetch https://git.openjdk.org/valhalla.git pull/2346/head:pull/2346 PR: https://git.openjdk.org/valhalla/pull/2346
