diff src/share/vm/code/codeBlob.cpp @ 7062:8c5333c80cfd

increased CompileThreshold to increase reliability of profiling information increased InitialCodeCacheSize to fit the bootstrapping added flag -XX:GraalClassPath to allow providing a .jar or .zip file that contains all Graal classes added support for the flag -XX:TraceCompilationPolicy to the Graal-specific compilation policy
author Christian Haeubl <haeubl@ssw.jku.at>
date Thu, 15 Nov 2012 11:40:50 +0100
parents 1d7922586cf6
children 7d815d842ee0
line wrap: on
line diff
--- a/src/share/vm/code/codeBlob.cpp	Tue Nov 13 21:21:02 2012 +0100
+++ b/src/share/vm/code/codeBlob.cpp	Thu Nov 15 11:40:50 2012 +0100
@@ -39,6 +39,7 @@
 #include "runtime/sharedRuntime.hpp"
 #include "runtime/vframe.hpp"
 #include "services/memoryService.hpp"
+#include "utilities/machineCodePrinter.hpp"
 #ifdef TARGET_ARCH_x86
 # include "nativeInst_x86.hpp"
 #endif
@@ -340,6 +341,10 @@
 
   trace_new_stub(stub, "RuntimeStub - ", stub_name);
 
+  if (PrintMachineCodeToFile) {
+    MachineCodePrinter::print(stub);
+  }
+
   return stub;
 }