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

@ -882,8 +882,7 @@ enum JavaThreadState {
// Handy constants for deciding which compiler mode to use.
enum MethodCompilation {
InvocationEntryBci = -1, // i.e., not a on-stack replacement compilation
InvalidOSREntryBci = -2
InvocationEntryBci = -1 // i.e., not a on-stack replacement compilation
};
// Enumeration to distinguish tiers of compilation