< prev index next >

src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/Threads.java

Print this page
@@ -1,7 +1,7 @@
  /*
-  * Copyright (c) 2000, 2025, Oracle and/or its affiliates. All rights reserved.
+  * Copyright (c) 2000, 2026, Oracle and/or its affiliates. All rights reserved.
   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   *
   * This code is free software; you can redistribute it and/or modify it
   * under the terms of the GNU General Public License version 2 only, as
   * published by the Free Software Foundation.

@@ -142,11 +142,11 @@
           */
  
          virtualConstructor.addMapping("JavaThread", JavaThread.class);
  
          if (!VM.getVM().isCore()) {
-             virtualConstructor.addMapping("CompilerThread", CompilerThread.class);
+             virtualConstructor.addMapping("CompilerThread", HiddenJavaThread.class);
              virtualConstructor.addMapping("TrainingReplayThread", HiddenJavaThread.class);
          }
  
          // These are all the visible JavaThread subclasses that execute java code.
          virtualConstructor.addMapping("JvmtiAgentThread", JavaThread.class);
< prev index next >