aboutsummaryrefslogtreecommitdiff
path: root/src/share/vm/runtime/compilationPolicy.cpp
diff options
context:
space:
mode:
authortwisti <none@none>2010-08-25 05:27:54 -0700
committertwisti <none@none>2010-08-25 05:27:54 -0700
commitc6865e24e0444bd5fdb6fb1e3117108765b29efc (patch)
treeb36d0c2b2e59e67b7b9b2c52b66f14eddb9e4182 /src/share/vm/runtime/compilationPolicy.cpp
parent6d5fe3805a03867db608a887106167fbb79099a4 (diff)
6978355: renaming for 6961697
Summary: This is the renaming part of 6961697 to keep the actual changes small for review. Reviewed-by: kvn, never
Diffstat (limited to 'src/share/vm/runtime/compilationPolicy.cpp')
-rw-r--r--src/share/vm/runtime/compilationPolicy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/share/vm/runtime/compilationPolicy.cpp b/src/share/vm/runtime/compilationPolicy.cpp
index 96b02db43..eba75a067 100644
--- a/src/share/vm/runtime/compilationPolicy.cpp
+++ b/src/share/vm/runtime/compilationPolicy.cpp
@@ -439,7 +439,7 @@ const char* StackWalkCompPolicy::shouldNotInline(methodHandle m) {
if (!instanceKlass::cast(m->method_holder())->is_initialized()) return (_msg = "method holder not initialized");
if (m->is_native()) return (_msg = "native method");
nmethod* m_code = m->code();
- if( m_code != NULL && m_code->instructions_size() > InlineSmallCode )
+ if (m_code != NULL && m_code->code_size() > InlineSmallCode)
return (_msg = "already compiled into a big method");
// use frequency-based objections only for non-trivial methods