mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8256106: Bypass intrinsic/barrier when calling Reference.get() from Finalizer
Reviewed-by: eosterlund
This commit is contained in:
parent
3c3469b9ce
commit
96e0261041
2 changed files with 15 additions and 1 deletions
|
@ -82,7 +82,7 @@ final class Finalizer extends FinalReference<Object> { /* Package-private; must
|
|||
}
|
||||
|
||||
try {
|
||||
Object finalizee = this.get();
|
||||
Object finalizee = this.getInactive();
|
||||
if (finalizee != null && !(finalizee instanceof java.lang.Enum)) {
|
||||
jla.invokeFinalize(finalizee);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue