> 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 with a new target base due to a merge
or a rebase. The incremental webrev excludes the unrelated changes brought in
by the merge/rebase. The pull request contains 18 additional commits since the
last revision:
- Remove LOOKUP static final
- Merge branch 'master' into 8282798
- Typos
- Update Carrier.java
- Redo API to use list, bring Carrier.component back
- Clean up API
- Remove redundant MethodHandle component(MethodType methodType, int i) API
- Revert to {@return} style comments.
- Clarify primitive store in array carriers.
- Use long array for primitives
- ... and 8 more: https://git.openjdk.java.net/jdk/compare/ffc8a484...a8657bbe
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/7744/files
- new: https://git.openjdk.java.net/jdk/pull/7744/files/a82bfd64..a8657bbe
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=7744&range=10
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=7744&range=09-10
Stats: 9833 lines in 495 files changed: 4777 ins; 2492 del; 2564 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