hotspot/src/share/vm/shark/sharkCompiler.hpp

Print this page

        

*** 1,8 **** /* * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. ! * Copyright 2008, 2009 Red Hat, Inc. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,8 ---- /* * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. ! * Copyright 2008, 2009, 2010, 2011 Red Hat, Inc. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 58,67 **** --- 58,68 ---- void compile_method(ciEnv* env, ciMethod* target, int entry_bci); // Generate a wrapper for a native (JNI) method nmethod* generate_native_wrapper(MacroAssembler* masm, methodHandle target, + int compile_id, BasicType* arg_types, BasicType return_type); // Free compiled methods (and native wrappers) void free_compiled_method(address code);
*** 111,121 **** } // Global access public: static SharkCompiler* compiler() { ! AbstractCompiler *compiler = CompileBroker::compiler(CompLevel_simple); assert(compiler->is_shark() && compiler->is_initialized(), "should be"); return (SharkCompiler *) compiler; } // Helpers --- 112,123 ---- } // Global access public: static SharkCompiler* compiler() { ! AbstractCompiler *compiler = ! CompileBroker::compiler(CompLevel_full_optimization); assert(compiler->is_shark() && compiler->is_initialized(), "should be"); return (SharkCompiler *) compiler; } // Helpers