Can I check whether there's an active ResourceMark?

Tony Printezis tprintezis at twitter.com
Mon Sep 9 09:58:31 PDT 2013


Hi guys,

(didn't know what list to ask this, starting with GC!)

Is there a way to check whether there's an active ResourceMark? I have a 
method that requires that the caller (or one of the callers) has set up 
a ResourceMark and I wanted to check for that with an assert. Thanks!

Tony

-- 
Tony Printezis | Staff Software Engineer | Twitter

@TonyPrintezis
tprintezis at twitter.com



More information about the hotspot-gc-dev mailing list