On Thu, 23 Apr 2026 07:07:45 GMT, Evgeny Nikitin <[email protected]> wrote:
>> 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 @lepestock Your change (at version 40bb2ded27a597b03a640416fdc33ab5cc374911) is now ready to be sponsored by a Committer. ------------- PR Comment: https://git.openjdk.org/valhalla/pull/2346#issuecomment-4333093751
