Mercurial > hg > truffle
diff src/share/vm/runtime/compilationPolicy.cpp @ 1764:14197af1010e
Merge
author | never |
---|---|
date | Fri, 27 Aug 2010 17:35:08 -0700 |
parents | 3e8fbc61cee8 |
children | d5d065957597 |
line wrap: on
line diff
--- a/src/share/vm/runtime/compilationPolicy.cpp Fri Aug 27 17:33:49 2010 -0700 +++ b/src/share/vm/runtime/compilationPolicy.cpp Fri Aug 27 17:35:08 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