comparison src/share/vm/shark/sharkCompiler.hpp @ 1845:a222fcfba398

6990549: Zero and Shark fixes after 6978355 and 6953144 Reviewed-by: twisti Contributed-by: Gary Benson <gbenson@redhat.com>
author twisti
date Fri, 08 Oct 2010 02:42:17 -0700
parents d2ede61b7a12
children f95d63e2154a
comparison
equal deleted inserted replaced
1844:75588558f1bf 1845:a222fcfba398
101 } 101 }
102 102
103 // Global access 103 // Global access
104 public: 104 public:
105 static SharkCompiler* compiler() { 105 static SharkCompiler* compiler() {
106 AbstractCompiler *compiler = 106 AbstractCompiler *compiler = CompileBroker::compiler(CompLevel_simple);
107 CompileBroker::compiler(CompLevel_fast_compile);
108 assert(compiler->is_shark() && compiler->is_initialized(), "should be"); 107 assert(compiler->is_shark() && compiler->is_initialized(), "should be");
109 return (SharkCompiler *) compiler; 108 return (SharkCompiler *) compiler;
110 } 109 }
111 110
112 // Helpers 111 // Helpers