> 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 incrementally with one additional commit since the last revision: Add carrierClass accessor ------------- Changes: - all: https://git.openjdk.java.net/jdk/pull/7744/files - new: https://git.openjdk.java.net/jdk/pull/7744/files/c5d03e82..024d24cb Webrevs: - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=7744&range=14 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=7744&range=13-14 Stats: 30 lines in 2 files changed: 23 ins; 0 del; 7 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