Mercurial > hg > truffle
comparison src/share/vm/compiler/compileBroker.cpp @ 3555:22d11b3bc561
Various hacks to be able to install machine code from a Java thread.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Wed, 24 Aug 2011 01:05:02 +0200 |
parents | 65981c23c1d6 |
children | 5e9645341ec3 |
comparison
equal
deleted
inserted
replaced
3554:b20889b42d12 | 3555:22d11b3bc561 |
---|---|
658 HandleMark hm; | 658 HandleMark hm; |
659 Thread* THREAD = Thread::current(); | 659 Thread* THREAD = Thread::current(); |
660 tty->print_cr("Bootstrapping graal...."); | 660 tty->print_cr("Bootstrapping graal...."); |
661 | 661 |
662 GraalCompiler* compiler = GraalCompiler::instance(); | 662 GraalCompiler* compiler = GraalCompiler::instance(); |
663 if (compiler == NULL) fatal("must use flag -XX:+UseGraal"); | 663 assert(compiler != NULL, "just checking"); |
664 | 664 |
665 jlong start = os::javaTimeMillis(); | 665 jlong start = os::javaTimeMillis(); |
666 add_method_to_queue(SystemDictionary::Object_klass(), vmSymbols::object_initializer_name(), vmSymbols::void_method_signature()); | 666 add_method_to_queue(SystemDictionary::Object_klass(), vmSymbols::object_initializer_name(), vmSymbols::void_method_signature()); |
667 add_method_to_queue(SystemDictionary::Object_klass(), vmSymbols::equals_name(), vmSymbols::object_boolean_signature()); | 667 add_method_to_queue(SystemDictionary::Object_klass(), vmSymbols::equals_name(), vmSymbols::object_boolean_signature()); |
668 add_method_to_queue(SystemDictionary::String_klass(), vmSymbols::length_name(), vmSymbols::void_int_signature()); | 668 add_method_to_queue(SystemDictionary::String_klass(), vmSymbols::length_name(), vmSymbols::void_int_signature()); |