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

Jim Laskey jlaskey at openjdk.java.net
Fri Mar 18 16:16:31 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 three additional commits since the last revision:

 - Typos
 - Update Carrier.java
 - Redo API to use list, bring Carrier.component back

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/7744/files
  - new: https://git.openjdk.java.net/jdk/pull/7744/files/1d706d32..a82bfd64

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

  Stats: 129 lines in 2 files changed: 111 ins; 5 del; 13 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