Mercurial > hg > truffle
comparison src/share/vm/code/nmethod.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 | 957c266d8bc5 |
children | 7d815d842ee0 |
comparison
equal
deleted
inserted
replaced
6717:5bbe9618118e | 7062:8c5333c80cfd |
---|---|
40 #include "runtime/sharedRuntime.hpp" | 40 #include "runtime/sharedRuntime.hpp" |
41 #include "runtime/sweeper.hpp" | 41 #include "runtime/sweeper.hpp" |
42 #include "utilities/dtrace.hpp" | 42 #include "utilities/dtrace.hpp" |
43 #include "utilities/events.hpp" | 43 #include "utilities/events.hpp" |
44 #include "utilities/xmlstream.hpp" | 44 #include "utilities/xmlstream.hpp" |
45 #include "utilities/machineCodePrinter.hpp" | |
45 #ifdef SHARK | 46 #ifdef SHARK |
46 #include "shark/sharkCompiler.hpp" | 47 #include "shark/sharkCompiler.hpp" |
47 #endif | 48 #endif |
48 #ifdef GRAAL | 49 #ifdef GRAAL |
49 #include "graal/graalJavaAccess.hpp" | 50 #include "graal/graalJavaAccess.hpp" |
512 basic_lock_owner_sp_offset, basic_lock_sp_offset, | 513 basic_lock_owner_sp_offset, basic_lock_sp_offset, |
513 oop_maps); | 514 oop_maps); |
514 if (nm != NULL) nmethod_stats.note_native_nmethod(nm); | 515 if (nm != NULL) nmethod_stats.note_native_nmethod(nm); |
515 if (PrintAssembly && nm != NULL) | 516 if (PrintAssembly && nm != NULL) |
516 Disassembler::decode(nm); | 517 Disassembler::decode(nm); |
518 | |
519 if (PrintMachineCodeToFile) { | |
520 MachineCodePrinter::print(nm); | |
521 } | |
517 } | 522 } |
518 // verify nmethod | 523 // verify nmethod |
519 debug_only(if (nm) nm->verify();) // might block | 524 debug_only(if (nm) nm->verify();) // might block |
520 | 525 |
521 if (nm != NULL) { | 526 if (nm != NULL) { |
612 } | 617 } |
613 } | 618 } |
614 if (nm != NULL) nmethod_stats.note_nmethod(nm); | 619 if (nm != NULL) nmethod_stats.note_nmethod(nm); |
615 if (PrintAssembly && nm != NULL) | 620 if (PrintAssembly && nm != NULL) |
616 Disassembler::decode(nm); | 621 Disassembler::decode(nm); |
622 | |
623 if (PrintMachineCodeToFile) { | |
624 MachineCodePrinter::print(nm); | |
625 } | |
617 } | 626 } |
618 | 627 |
619 // verify nmethod | 628 // verify nmethod |
620 debug_only(if (nm) nm->verify();) // might block | 629 debug_only(if (nm) nm->verify();) // might block |
621 | 630 |