Each compiled method contains an nmethod header. In trivial case, the header takes up half the method payload: ~350 bytes. Over time, the header gets bigger. With this change, I suggest sorting the header data fields from largest to smallest to minimize header paddings, and using one to store CompilerType and CompLevel values.
- relates to
-
JDK-8290818 profile nmethod fields access
- Open