diff src/share/vm/gc_implementation/shared/concurrentGCThread.hpp @ 20646:4e4ebe50c8e3

8062036: ConcurrentMarkThread::slt may be invoked before ConcurrentMarkThread::makeSurrogateLockerThread causing intermittent crashes Summary: Suppress gc_alot during VM init, improve error for SLT uninitialized. Reviewed-by: jmasa, brutisso, tschatzl
author kbarrett
date Tue, 11 Nov 2014 13:39:00 -0500
parents 581e70386ec9
children 7848fc12602b
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/shared/concurrentGCThread.hpp	Mon Nov 17 16:36:09 2014 +0000
+++ b/src/share/vm/gc_implementation/shared/concurrentGCThread.hpp	Tue Nov 11 13:39:00 2014 -0500
@@ -93,6 +93,9 @@
  public:
   static SurrogateLockerThread* make(TRAPS);
 
+  // Terminate VM with error message that SLT needed but not yet created.
+  static void report_missing_slt();
+
   SurrogateLockerThread();
 
   bool is_hidden_from_external_view() const     { return true; }