Mercurial > hg > graal-compiler
diff src/share/vm/runtime/sweeper.cpp @ 1783:d5d065957597
6953144: Tiered compilation
Summary: Infrastructure for tiered compilation support (interpreter + c1 + c2) for 32 and 64 bit. Simple tiered policy implementation.
Reviewed-by: kvn, never, phh, twisti
author | iveresov |
---|---|
date | Fri, 03 Sep 2010 17:51:07 -0700 |
parents | 8d5934a77f10 |
children | f95d63e2154a |
line wrap: on
line diff
--- a/src/share/vm/runtime/sweeper.cpp Thu Sep 02 11:40:02 2010 -0700 +++ b/src/share/vm/runtime/sweeper.cpp Fri Sep 03 17:51:07 2010 -0700 @@ -368,8 +368,7 @@ disconnected++; } else if (nm->is_speculatively_disconnected()) { // This method was previously considered for preemptive unloading and was not called since then - nm->method()->invocation_counter()->decay(); - nm->method()->backedge_counter()->decay(); + CompilationPolicy::policy()->delay_compilation(nm->method()); nm->make_not_entrant(); made_not_entrant++; }