diff src/share/vm/runtime/compilationPolicy.cpp @ 1749:b4099f5786da

Merge
author never
date Wed, 25 Aug 2010 10:31:45 -0700
parents 3e8fbc61cee8
children d5d065957597
line wrap: on
line diff
--- a/src/share/vm/runtime/compilationPolicy.cpp	Mon Aug 23 08:44:03 2010 -0700
+++ b/src/share/vm/runtime/compilationPolicy.cpp	Wed Aug 25 10:31:45 2010 -0700
@@ -439,7 +439,7 @@
   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