> 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: Update Carrier API ------------- Changes: - all: https://git.openjdk.java.net/jdk/pull/7744/files - new: https://git.openjdk.java.net/jdk/pull/7744/files/7f8de3b5..b74e204e Webrevs: - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=7744&range=12 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=7744&range=11-12 Stats: 233 lines in 2 files changed: 73 ins; 108 del; 52 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