diff src/share/vm/runtime/compilationPolicy.cpp @ 3568:409ef3a68dc8

re-lock objects whose lock was removed by escape analysis, enable stack walking compilation policy (-XX:CompilationPolicyChoice=1)
author Lukas Stadler <lukas.stadler@jku.at>
date Thu, 01 Sep 2011 15:28:24 +0200
parents e2eb7f986c64
children 04b9a2566eec
line wrap: on
line diff
--- a/src/share/vm/runtime/compilationPolicy.cpp	Thu Sep 01 09:52:58 2011 +0200
+++ b/src/share/vm/runtime/compilationPolicy.cpp	Thu Sep 01 15:28:24 2011 +0200
@@ -60,11 +60,11 @@
     break;
 
   case 1:
-#ifdef COMPILER2
+//#ifdef COMPILER2
     CompilationPolicy::set_policy(new StackWalkCompPolicy());
-#else
-    Unimplemented();
-#endif
+//#else
+//    Unimplemented();
+//#endif
     break;
   case 2:
 #ifdef TIERED
@@ -422,7 +422,7 @@
 }
 // StackWalkCompPolicy - walk up stack to find a suitable method to compile
 
-#ifdef COMPILER2
+//#ifdef COMPILER2
 const char* StackWalkCompPolicy::_msg = NULL;
 
 
@@ -649,4 +649,4 @@
 
 
 
-#endif // COMPILER2
+//#endif // COMPILER2