mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 09:34:38 +02:00
6978355: renaming for 6961697
This is the renaming part of 6961697 to keep the actual changes small for review. Reviewed-by: kvn, never
This commit is contained in:
parent
3756a7daa9
commit
a4b2fe3b1c
66 changed files with 613 additions and 658 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -120,7 +120,7 @@ int InterpretedRFrame::cost() const {
|
|||
int CompiledRFrame::cost() const {
|
||||
nmethod* nm = top_method()->code();
|
||||
if (nm != NULL) {
|
||||
return nm->code_size();
|
||||
return nm->insts_size();
|
||||
} else {
|
||||
return top_method()->code_size();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue