hotspot/src/share/vm/runtime/compilationPolicy.cpp
changeset 14391 df0a1573d5bd
parent 13891 35dabd293e56
child 14477 95e66ea71f71
equal deleted inserted replaced
14390:bd0d881cf1c5 14391:df0a1573d5bd
   625 
   625 
   626 const char* StackWalkCompPolicy::shouldNotInline(methodHandle m) {
   626 const char* StackWalkCompPolicy::shouldNotInline(methodHandle m) {
   627   // negative filter: should send NOT be inlined?  returns NULL (--> inline) or rejection msg
   627   // negative filter: should send NOT be inlined?  returns NULL (--> inline) or rejection msg
   628   if (m->is_abstract()) return (_msg = "abstract method");
   628   if (m->is_abstract()) return (_msg = "abstract method");
   629   // note: we allow ik->is_abstract()
   629   // note: we allow ik->is_abstract()
   630   if (!InstanceKlass::cast(m->method_holder())->is_initialized()) return (_msg = "method holder not initialized");
   630   if (!m->method_holder()->is_initialized()) return (_msg = "method holder not initialized");
   631   if (m->is_native()) return (_msg = "native method");
   631   if (m->is_native()) return (_msg = "native method");
   632   nmethod* m_code = m->code();
   632   nmethod* m_code = m->code();
   633   if (m_code != NULL && m_code->code_size() > InlineSmallCode)
   633   if (m_code != NULL && m_code->code_size() > InlineSmallCode)
   634     return (_msg = "already compiled into a big method");
   634     return (_msg = "already compiled into a big method");
   635 
   635