Integrated: 8254955: x86: MethodHandlesAdapterBlob is too big
Claes Redestad
redestad at openjdk.java.net
Mon Oct 19 17:54:09 UTC 2020
On Sat, 17 Oct 2020 11:29:23 GMT, Claes Redestad <redestad at openjdk.org> wrote:
> At some point JSR 292 was reworked to generate all but a small handful of interpreter stubs lazily, leaving the
> MethodHandlesAdapterBlob with a bit too much room to spare.
> The remaining stubs use less than 1000 bytes of memory in product builds, and less than 3k in debug builds. This patch
> adjust the sizes accordingly.
> Other platforms (except zero) seem like they could use a similar adjustment, but I don't have hardware available to
> check how big the interpreter stubs get on anything but x86 so I'll leave them untouched unless someone can run the
> numbers (`java -XX:+UnlockDiagnosticVMOptions -XX:+VerifyMethodHandles -XX:+LogCompilation` - grep the hotspot_log
> generated for MethodHandlesAdapterBlob or just blob since it's the first one)
This pull request has now been integrated.
Changeset: e2e11d34
Author: Claes Redestad <redestad at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/e2e11d34
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
8254955: x86: MethodHandlesAdapterBlob is too big
Reviewed-by: neliasso, kvn
-------------
PR: https://git.openjdk.java.net/jdk/pull/717
More information about the hotspot-compiler-dev
mailing list