RFR: JDK-8282798 java.lang.runtime.Carrier [v3]
Jim Laskey
jlaskey at openjdk.java.net
Thu Mar 10 18:39:21 UTC 2022
> We propose to provide a runtime anonymous carrier class object generator; java.lang.runtime.Carrier. This generator class is designed to share anonymous classes when shapes are similar. For example, if several clients require objects containing two integer fields, then Carrier will ensure that each client generates carrier objects using the same underlying anonymous class.
>
> See JBS for details.
Jim Laskey has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains six additional commits since the last revision:
- Reimplemented array based carrier
- Merge branch 'master' into 8282798
- Add non-public comment
- More comments.
- Allocate long fields first (alignment)
- Introduce java.lang.runtime.Carrier
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/7744/files
- new: https://git.openjdk.java.net/jdk/pull/7744/files/246450ca..4c68ea0d
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=7744&range=02
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=7744&range=01-02
Stats: 4560 lines in 122 files changed: 2753 ins; 523 del; 1284 mod
Patch: https://git.openjdk.java.net/jdk/pull/7744.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/7744/head:pull/7744
PR: https://git.openjdk.java.net/jdk/pull/7744
More information about the core-libs-dev
mailing list