Mercurial > hg > truffle
comparison src/share/vm/memory/collectorPolicy.cpp @ 7446:e51c9860cf66
8005082: NPG: Add specialized Metachunk sizes for reflection and anonymous classloaders
Reviewed-by: johnc, coleenp
author | jmasa |
---|---|
date | Mon, 03 Dec 2012 15:09:39 -0800 |
parents | f34d701e952e |
children | ca0a78017dc7 |
comparison
equal
deleted
inserted
replaced
7445:cd962e15c08e | 7446:e51c9860cf66 |
---|---|
775 mdtype, | 775 mdtype, |
776 gc_count, | 776 gc_count, |
777 full_gc_count, | 777 full_gc_count, |
778 GCCause::_metadata_GC_threshold); | 778 GCCause::_metadata_GC_threshold); |
779 VMThread::execute(&op); | 779 VMThread::execute(&op); |
780 | |
781 // If GC was locked out, try again. Check | |
782 // before checking success because the prologue | |
783 // could have succeeded and the GC still have | |
784 // been locked out. | |
785 if (op.gc_locked()) { | |
786 continue; | |
787 } | |
788 | |
780 if (op.prologue_succeeded()) { | 789 if (op.prologue_succeeded()) { |
781 return op.result(); | 790 return op.result(); |
782 } | 791 } |
783 loop_count++; | 792 loop_count++; |
784 if ((QueuedAllocationWarningCount > 0) && | 793 if ((QueuedAllocationWarningCount > 0) && |