@@ -1964,12 +1964,12 @@ void nmethod::invalidate_osr_method() {
1964
1964
}
1965
1965
}
1966
1966
1967
- void nmethod::log_state_change (NMethodChangeReason statusReason ) const {
1967
+ void nmethod::log_state_change (NMethodChangeReason reason ) const {
1968
1968
if (LogCompilation) {
1969
1969
if (xtty != nullptr ) {
1970
1970
ttyLocker ttyl; // keep the following output all in one block
1971
1971
xtty->begin_elem (" make_not_entrant thread='%zu' reason='%d'" ,
1972
- os::current_thread_id (), statusReason );
1972
+ os::current_thread_id (), reason );
1973
1973
log_identity (xtty);
1974
1974
xtty->stamp ();
1975
1975
xtty->end_elem ();
@@ -1978,7 +1978,7 @@ void nmethod::log_state_change(NMethodChangeReason statusReason) const {
1978
1978
1979
1979
ResourceMark rm;
1980
1980
stringStream ss (NEW_RESOURCE_ARRAY (char , 256 ), 256 );
1981
- ss.print (" made not entrant: %d" , statusReason );
1981
+ ss.print (" made not entrant: %d" , reason );
1982
1982
1983
1983
CompileTask::print_ul (this , ss.freeze ());
1984
1984
if (PrintCompilation) {
@@ -1993,7 +1993,7 @@ void nmethod::unlink_from_method() {
1993
1993
}
1994
1994
1995
1995
// Invalidate code
1996
- bool nmethod::make_not_entrant (NMethodChangeReason statusReason ) {
1996
+ bool nmethod::make_not_entrant (NMethodChangeReason reason ) {
1997
1997
// This can be called while the system is already at a safepoint which is ok
1998
1998
NoSafepointVerifier nsv;
1999
1999
@@ -2051,7 +2051,7 @@ bool nmethod::make_not_entrant(NMethodChangeReason statusReason) {
2051
2051
assert (success, " Transition can't fail" );
2052
2052
2053
2053
// Log the transition once
2054
- log_state_change (statusReason );
2054
+ log_state_change (reason );
2055
2055
2056
2056
// Remove nmethod from method.
2057
2057
unlink_from_method ();
0 commit comments