RFR: 8265607: Avoid decrementing when no Symbol was created in ~SignatureStream

Claes Redestad redestad at openjdk.java.net
Thu Apr 22 09:56:37 UTC 2021


On Wed, 21 Apr 2021 14:34:47 GMT, Lois Foltan <lfoltan at openjdk.org> wrote:

>> This patch trivially avoids decrementing refcount on java/lang/Object (a permanent symbol) that is used as a sentinel when the SignatureStream found no Symbols during parse. This is the common case, especially during early VM startup
>
> Looks good Claes!
> Lois

@lfoltan @coleenp - thanks for reviewing!

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

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


More information about the hotspot-runtime-dev mailing list