File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -362,8 +362,8 @@ class AOTCodeCache : public CHeapObj<mtCode> {
362362 static void init2 () NOT_CDS_RETURN;
363363 static void close () NOT_CDS_RETURN;
364364 static bool is_on () CDS_ONLY({ return _cache != nullptr && !_cache->closing (); }) NOT_CDS_RETURN_(false );
365- static bool is_on_for_use () { return is_on () && _cache->for_use (); }
366- static bool is_on_for_dump () { return is_on () && _cache->for_dump (); }
365+ static bool is_on_for_use () CDS_ONLY( { return is_on () && _cache->for_use (); }) NOT_CDS_RETURN_( false );
366+ static bool is_on_for_dump () CDS_ONLY( { return is_on () && _cache->for_dump (); }) NOT_CDS_RETURN_( false );
367367
368368 static bool is_dumping_adapter () NOT_CDS_RETURN_(false );
369369 static bool is_using_adapter () NOT_CDS_RETURN_(false );
You can’t perform that action at this time.
0 commit comments