8192061: Clean up allocation.inline.hpp includes

Reviewed-by: eosterlund, coleenp
This commit is contained in:
Stefan Karlsson 2017-11-28 21:43:45 +01:00
parent 177b24b7d7
commit 58dd5210ec
61 changed files with 409 additions and 256 deletions

View file

@ -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;