mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8192061: Clean up allocation.inline.hpp includes
Reviewed-by: eosterlund, coleenp
This commit is contained in:
parent
177b24b7d7
commit
58dd5210ec
61 changed files with 409 additions and 256 deletions
|
@ -27,6 +27,7 @@
|
|||
#include "interpreter/bytecodeStream.hpp"
|
||||
#include "logging/log.hpp"
|
||||
#include "logging/logStream.hpp"
|
||||
#include "memory/allocation.inline.hpp"
|
||||
#include "oops/generateOopMap.hpp"
|
||||
#include "oops/oop.inline.hpp"
|
||||
#include "oops/symbol.hpp"
|
||||
|
@ -217,6 +218,12 @@ public:
|
|||
int RetTable::_init_nof_entries = 10;
|
||||
int RetTableEntry::_init_nof_jsrs = 5;
|
||||
|
||||
RetTableEntry::RetTableEntry(int target, RetTableEntry *next) {
|
||||
_target_bci = target;
|
||||
_jsrs = new GrowableArray<intptr_t>(_init_nof_jsrs);
|
||||
_next = next;
|
||||
}
|
||||
|
||||
void RetTableEntry::add_delta(int bci, int delta) {
|
||||
if (_target_bci > bci) _target_bci += delta;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue