src/share/vm/opto/escape.cpp

changeset 7402
f913964f3fde
parent 7385
9e69e8d1c900
child 7535
7ae4e26cb1e0
child 7575
f46bff88dc9f
     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);

mercurial