RFR: 8290464: Optimize ResourceArea zapping on ResourceMark release

Aleksey Shipilev shade at openjdk.org
Tue Jul 19 05:52:57 UTC 2022


On Mon, 18 Jul 2022 21:58:00 GMT, Ioi Lam <iklam at openjdk.org> wrote:

> I think the placement of ResourceMark should be moved as well (maybe in a separate PR). 

All right, that would be #9548.

I actually thought about introducing `assert_with_resources` too, but reckoned if we want to have a global change, we better off optimizing the `ResourceMark` itself. Otherwise we would have to remember to use `assert_with_resource` every time...

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

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


More information about the hotspot-runtime-dev mailing list