src/share/vm/runtime/sweeper.cpp

changeset 2138
d5d065957597
parent 2001
8d5934a77f10
child 2314
f95d63e2154a
     1.1 --- a/src/share/vm/runtime/sweeper.cpp	Thu Sep 02 11:40:02 2010 -0700
     1.2 +++ b/src/share/vm/runtime/sweeper.cpp	Fri Sep 03 17:51:07 2010 -0700
     1.3 @@ -368,8 +368,7 @@
     1.4          disconnected++;
     1.5        } else if (nm->is_speculatively_disconnected()) {
     1.6          // This method was previously considered for preemptive unloading and was not called since then
     1.7 -        nm->method()->invocation_counter()->decay();
     1.8 -        nm->method()->backedge_counter()->decay();
     1.9 +        CompilationPolicy::policy()->delay_compilation(nm->method());
    1.10          nm->make_not_entrant();
    1.11          made_not_entrant++;
    1.12        }

mercurial