8264166: OopStorage should support specifying MEMFLAGS for allocations

Reviewed-by: tschatzl, stefank
This commit is contained in:
Kim Barrett 2021-03-26 07:44:22 +00:00
parent 41657b15ac
commit bb354b9d1c
16 changed files with 64 additions and 34 deletions

View file

@ -105,7 +105,8 @@ void ThreadService::init() {
_thread_allocated_memory_enabled = true; // Always on, so enable it
// Initialize OopStorage for thread stack sampling walking
_thread_service_storage = OopStorageSet::create_strong("ThreadService OopStorage");
_thread_service_storage = OopStorageSet::create_strong("ThreadService OopStorage",
mtServiceability);
}
void ThreadService::reset_peak_thread_count() {