RFR: 8256302: releasing oopStorage when deflating allows for faster deleting

Robbin Ehn rehn at openjdk.org
Fri Dec 2 07:37:53 UTC 2022


On Fri, 2 Dec 2022 02:11:49 GMT, David Holmes <dholmes at openjdk.org> wrote:

> > You can ask by doing `_object().is_null()`
> 
> Are you allowed to do that when safepoint-safe?

Yes, since we are only checking if we have pointer to an oop and not actually touching the oop it self.

oop* _obj;
...
return _obj == NULL;

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

PR: https://git.openjdk.org/jdk/pull/11296


More information about the hotspot-runtime-dev mailing list