1.1 --- a/src/share/vm/opto/escape.cpp Tue Dec 02 15:01:01 2014 -0800 1.2 +++ b/src/share/vm/opto/escape.cpp Tue Dec 02 12:24:31 2014 -0800 1.3 @@ -1106,6 +1106,9 @@ 1.4 // Each 4 iterations calculate how much time it will take 1.5 // to complete graph construction. 1.6 time.stop(); 1.7 + // Poll for requests from shutdown mechanism to quiesce compiler 1.8 + // because Connection graph construction may take long time. 1.9 + CompileBroker::maybe_block(); 1.10 double stop_time = time.seconds(); 1.11 double time_per_iter = (stop_time - start_time) / (double)SAMPLE_SIZE; 1.12 double time_until_end = time_per_iter * (double)(java_objects_length - next);