mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 09:34:38 +02:00
8219555: compiler/jvmci/compilerToVM/IsMatureTest.java fails with Unexpected isMature state for multiple times invoked method: expected false to equal true
Reviewed-by: kvn
This commit is contained in:
parent
bf9b74d187
commit
1f9ed9059f
9 changed files with 34 additions and 46 deletions
|
@ -1971,7 +1971,7 @@ void Method::clear_all_breakpoints() {
|
|||
|
||||
#endif // INCLUDE_JVMTI
|
||||
|
||||
int Method::invocation_count() {
|
||||
int Method::invocation_count() const {
|
||||
MethodCounters* mcs = method_counters();
|
||||
MethodData* mdo = method_data();
|
||||
if (((mcs != NULL) ? mcs->invocation_counter()->carry() : false) ||
|
||||
|
@ -1983,7 +1983,7 @@ int Method::invocation_count() {
|
|||
}
|
||||
}
|
||||
|
||||
int Method::backedge_count() {
|
||||
int Method::backedge_count() const {
|
||||
MethodCounters* mcs = method_counters();
|
||||
MethodData* mdo = method_data();
|
||||
if (((mcs != NULL) ? mcs->backedge_counter()->carry() : false) ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue