Skip to content

Commit 044bae0

Browse files
committed
8260191: Do not include access.hpp in oop.hpp
Reviewed-by: kbarrett
1 parent 77a4302 commit 044bae0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/hotspot/share/gc/z/zBarrierSetRuntime.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2018, 2021, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -24,6 +24,7 @@
2424
#include "precompiled.hpp"
2525
#include "gc/z/zBarrier.inline.hpp"
2626
#include "gc/z/zBarrierSetRuntime.hpp"
27+
#include "oops/access.hpp"
2728
#include "runtime/interfaceSupport.inline.hpp"
2829

2930
JRT_LEAF(oopDesc*, ZBarrierSetRuntime::load_barrier_on_oop_field_preloaded(oopDesc* o, oop* p))

src/hotspot/share/oops/oop.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
#include "memory/iterator.hpp"
2929
#include "memory/memRegion.hpp"
30-
#include "oops/access.hpp"
30+
#include "oops/accessDecorators.hpp"
3131
#include "oops/markWord.hpp"
3232
#include "oops/metadata.hpp"
3333
#include "runtime/atomic.hpp"

0 commit comments

Comments
 (0)