mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
8201362: Remove CollectedHeap::barrier_set()
Reviewed-by: shade, rkennke
This commit is contained in:
parent
23c1371590
commit
ec504ecf84
52 changed files with 92 additions and 111 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue