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

Lois Foltan lfoltan at openjdk.java.net
Wed Apr 21 14:37:32 UTC 2021


On Tue, 20 Apr 2021 23:32:35 GMT, Claes Redestad <redestad 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

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

Marked as reviewed by lfoltan (Reviewer).

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


More information about the hotspot-runtime-dev mailing list