RFR: 8258836: JNI local refs exceed capacity getDiagnosticCommandInfo [v5]

Chris Plummer cjplummer at openjdk.java.net
Thu Jan 21 20:49:14 UTC 2021


On Thu, 21 Jan 2021 15:42:14 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:

>> This patch adds some explicit capacity for local refs. New regression test
>> fails prior and passes after the patch.
>> 
>> Thoughts?
>
> Severin Gehwolf has updated the pull request incrementally with two additional commits since the last revision:
> 
>  - Improve popping of local frames in the error case
>  - Make HOTSPOT_DIAGNOSTIC_MXBEAN_NAME final

Getting close:
- Line 188 where there is a JNU_ThrowOutOfMemoryError needs a PopLocalFrame before it.
- Copyrights need updating

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

PR: https://git.openjdk.java.net/jdk/pull/2130


More information about the serviceability-dev mailing list