RFR: 8289071: Compute stub sizes outside of locks

Evgeny Astigeevich duke at openjdk.org
Fri Jun 24 10:20:52 UTC 2022


On Fri, 24 Jun 2022 00:05:25 GMT, Yi-Fan Tsai <duke at openjdk.org> wrote:

> 8289071: Compute stub sizes outside of locks

src/hotspot/share/code/nmethod.cpp line 473:

> 471:   // create nmethod
> 472:   nmethod* nm = NULL;
> 473:   int native_nmethod_size = CodeBlob::allocation_size(code_buffer, sizeof(nmethod));

This change and another below are not calculation of stub sizes. You need either create another PR for them or update JDK-8289071 to include these cases.

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

PR: https://git.openjdk.org/jdk/pull/9266


More information about the hotspot-compiler-dev mailing list