Mercurial > hg > graal-compiler
comparison src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp @ 20632:706dce84c9df
8064556: G1: ParallelGCThreads=0 may cause assert(!MetadataOnStackMark::has_buffer_for_thread(Thread::current())) failed: Should be empty
Reviewed-by: mgerdin, tschatzl
author | stefank |
---|---|
date | Tue, 11 Nov 2014 13:45:21 +0100 |
parents | b12a2a9b05ca |
children | 9fa3bf3043a2 |
comparison
equal
deleted
inserted
replaced
20619:b12a2a9b05ca | 20632:706dce84c9df |
---|---|
5226 _code_cache_task(num_workers, is_alive, unloading_occurred), | 5226 _code_cache_task(num_workers, is_alive, unloading_occurred), |
5227 _klass_cleaning_task(is_alive) { | 5227 _klass_cleaning_task(is_alive) { |
5228 } | 5228 } |
5229 | 5229 |
5230 void pre_work_verification() { | 5230 void pre_work_verification() { |
5231 assert(!MetadataOnStackMark::has_buffer_for_thread(Thread::current()), "Should be empty"); | 5231 // The VM Thread will have registered Metadata during the single-threaded phase of MetadataStackOnMark. |
5232 assert(Thread::current()->is_VM_thread() | |
5233 || !MetadataOnStackMark::has_buffer_for_thread(Thread::current()), "Should be empty"); | |
5232 } | 5234 } |
5233 | 5235 |
5234 void post_work_verification() { | 5236 void post_work_verification() { |
5235 assert(!MetadataOnStackMark::has_buffer_for_thread(Thread::current()), "Should be empty"); | 5237 assert(!MetadataOnStackMark::has_buffer_for_thread(Thread::current()), "Should be empty"); |
5236 } | 5238 } |