Mercurial > hg > graal-compiler
comparison src/share/vm/runtime/interfaceSupport.cpp @ 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 | ce8f6bb717c9 |
children |
comparison
equal
deleted
inserted
replaced
20643:b2399f0d9611 | 20646:4e4ebe50c8e3 |
---|---|
83 if (current_thread->active_handles() == NULL) return; | 83 if (current_thread->active_handles() == NULL) return; |
84 | 84 |
85 // Short-circuit any possible re-entrant gc-a-lot attempt | 85 // Short-circuit any possible re-entrant gc-a-lot attempt |
86 if (thread->skip_gcalot()) return; | 86 if (thread->skip_gcalot()) return; |
87 | 87 |
88 if (is_init_completed()) { | 88 if (Threads::is_vm_complete()) { |
89 | 89 |
90 if (++_fullgc_alot_invocation < FullGCALotStart) { | 90 if (++_fullgc_alot_invocation < FullGCALotStart) { |
91 return; | 91 return; |
92 } | 92 } |
93 | 93 |