RFR: JDK-8282798 java.lang.runtime.Carrier [v5]

Jim Laskey jlaskey at openjdk.java.net
Fri Mar 11 15:17:30 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 incrementally with two additional commits since the last revision:

 - Use long array for primitives
 - Use long arrays for primitives

-------------

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/7744/files
  - new: https://git.openjdk.java.net/jdk/pull/7744/files/0849c65d..890ad4fa

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=7744&range=04
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=7744&range=03-04

  Stats: 85 lines in 1 file changed: 14 ins; 26 del; 45 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