RFR: 8265607: Avoid decrementing when no Symbol was created in ~SignatureStream
Claes Redestad
redestad at openjdk.java.net
Wed Apr 21 11:05:01 UTC 2021
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
-------------
Commit messages:
- missing semi
- Skip refcount decrement if no Symbols were created during signature parse
Changes: https://git.openjdk.java.net/jdk/pull/3596/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3596&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8265607
Stats: 6 lines in 1 file changed: 6 ins; 0 del; 0 mod
Patch: https://git.openjdk.java.net/jdk/pull/3596.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/3596/head:pull/3596
PR: https://git.openjdk.java.net/jdk/pull/3596
More information about the hotspot-runtime-dev
mailing list