8048721: -XX:+PrintCompilation prints negative bci for non entrant OSR methods

Removed 'InvalidOSREntryBci' and checking nmethod::_state instead to determine if an osr method is non-entrant.

Reviewed-by: kvn, vlivanov, drchase
This commit is contained in:
Tobias Hartmann 2014-09-15 08:08:22 +02:00
parent f082ff287e
commit dd6285d984
12 changed files with 25 additions and 39 deletions

View file

@ -1364,8 +1364,6 @@ void nmethod::invalidate_osr_method() {
// Remove from list of active nmethods
if (method() != NULL)
method()->method_holder()->remove_osr_nmethod(this);
// Set entry as invalid
_entry_bci = InvalidOSREntryBci;
}
void nmethod::log_state_change() const {