mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 10:04:42 +02:00
8134953: Make the GC ID available in a central place
Reviewed-by: pliden, jmasa
This commit is contained in:
parent
d516b42238
commit
003892f897
41 changed files with 253 additions and 291 deletions
|
@ -31,6 +31,7 @@
|
|||
#include "code/codeCacheExtensions.hpp"
|
||||
#include "code/scopeDesc.hpp"
|
||||
#include "compiler/compileBroker.hpp"
|
||||
#include "gc/shared/gcId.hpp"
|
||||
#include "gc/shared/gcLocker.inline.hpp"
|
||||
#include "gc/shared/workgroup.hpp"
|
||||
#include "interpreter/interpreter.hpp"
|
||||
|
@ -1149,6 +1150,7 @@ void JavaThread::allocate_threadObj(Handle thread_group, const char* thread_name
|
|||
NamedThread::NamedThread() : Thread() {
|
||||
_name = NULL;
|
||||
_processed_thread = NULL;
|
||||
_gc_id = GCId::undefined();
|
||||
}
|
||||
|
||||
NamedThread::~NamedThread() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue