1.1 --- a/src/share/vm/interpreter/linkResolver.cpp Thu Sep 02 11:40:02 2010 -0700 1.2 +++ b/src/share/vm/interpreter/linkResolver.cpp Fri Sep 03 17:51:07 2010 -0700 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -83,12 +83,12 @@ 1.11 _resolved_method = resolved_method; 1.12 _selected_method = selected_method; 1.13 _vtable_index = vtable_index; 1.14 - if (CompilationPolicy::mustBeCompiled(selected_method)) { 1.15 + if (CompilationPolicy::must_be_compiled(selected_method)) { 1.16 // This path is unusual, mostly used by the '-Xcomp' stress test mode. 1.17 1.18 - // Note: with several active threads, the mustBeCompiled may be true 1.19 - // while canBeCompiled is false; remove assert 1.20 - // assert(CompilationPolicy::canBeCompiled(selected_method), "cannot compile"); 1.21 + // Note: with several active threads, the must_be_compiled may be true 1.22 + // while can_be_compiled is false; remove assert 1.23 + // assert(CompilationPolicy::can_be_compiled(selected_method), "cannot compile"); 1.24 if (THREAD->is_Compiler_thread()) { 1.25 // don't force compilation, resolve was on behalf of compiler 1.26 return; 1.27 @@ -104,7 +104,8 @@ 1.28 return; 1.29 } 1.30 CompileBroker::compile_method(selected_method, InvocationEntryBci, 1.31 - methodHandle(), 0, "mustBeCompiled", CHECK); 1.32 + CompLevel_initial_compile, 1.33 + methodHandle(), 0, "must_be_compiled", CHECK); 1.34 } 1.35 } 1.36