8201362: Remove CollectedHeap::barrier_set()

Reviewed-by: shade, rkennke
This commit is contained in:
Per Lidén 2018-04-12 11:22:24 +02:00
parent 23c1371590
commit ec504ecf84
52 changed files with 92 additions and 111 deletions

View file

@ -36,6 +36,7 @@
#include "compiler/abstractCompiler.hpp"
#include "compiler/compileBroker.hpp"
#include "compiler/disassembler.hpp"
#include "gc/shared/barrierSet.hpp"
#include "gc/shared/gcLocker.inline.hpp"
#include "interpreter/interpreter.hpp"
#include "interpreter/interpreterRuntime.hpp"
@ -3149,6 +3150,6 @@ void SharedRuntime::on_slowpath_allocation_exit(JavaThread* thread) {
oop new_obj = thread->vm_result();
if (new_obj == NULL) return;
BarrierSet *bs = Universe::heap()->barrier_set();
BarrierSet *bs = BarrierSet::barrier_set();
bs->on_slowpath_allocation_exit(thread, new_obj);
}