RFR: 8284942: Proxy building can just iterate superinterfaces once [v3]
liach
duke at openjdk.java.net
Thu May 19 23:44:12 UTC 2022
> Currently, in ProxyBuilder::mapToModule and ProxyBuilder::defineProxyClass, the interfaces are iterated twice. The two passes can be merged into one, yielding the whole proxy definition context (module, package, whether there's package-private interface) when determining the module.
>
> Split from #8278. Helpful for moving proxies to hidden classes, but is a good cleanup on its own.
liach 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 four additional commits since the last revision:
- Updates suggested by mandy
- Merge branch 'master' into fix/proxy-single-pass
- Don't need to complexify module cache
- 8284942: Proxy building can just iterate superinterfaces once
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/8281/files
- new: https://git.openjdk.java.net/jdk/pull/8281/files/d58bb7e0..502dad82
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=8281&range=02
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=8281&range=01-02
Stats: 259862 lines in 4149 files changed: 190963 ins; 46360 del; 22539 mod
Patch: https://git.openjdk.java.net/jdk/pull/8281.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/8281/head:pull/8281
PR: https://git.openjdk.java.net/jdk/pull/8281
More information about the core-libs-dev
mailing list