As [~rkennke] noted:
In general, non-GC threads should not mess with GC roots (e.g.
OopStorage) during safepoints. I don't think that this plays well with
any GC. Not sure if it can be automatically detected, it sure would be
nice if that would fire an assert or so.
- relates to
-
JDK-8251336 OopHandle release can not be called in a safepoint
- Resolved