> 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 two additional commits since the last revision: - More comments. - Allocate long fields first (alignment) ------------- Changes: - all: https://git.openjdk.java.net/jdk/pull/7744/files - new: https://git.openjdk.java.net/jdk/pull/7744/files/ac2b6eb2..246450ca Webrevs: - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=7744&range=01 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=7744&range=00-01 Stats: 95 lines in 1 file changed: 26 ins; 4 del; 65 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