mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8205559: Remove IN_CONCURRENT_ROOT Access decorator
Removed decorator and made all NativeAccess use barriers. Reviewed-by: pliden, stefank
This commit is contained in:
parent
ed24b806f1
commit
8a2170dad7
18 changed files with 54 additions and 80 deletions
|
@ -832,9 +832,7 @@ void ClassLoaderData::remove_handle(OopHandle h) {
|
|||
oop* ptr = h.ptr_raw();
|
||||
if (ptr != NULL) {
|
||||
assert(_handles.owner_of(ptr), "Got unexpected handle " PTR_FORMAT, p2i(ptr));
|
||||
// This root is not walked in safepoints, and hence requires an appropriate
|
||||
// decorator that e.g. maintains the SATB invariant in SATB collectors.
|
||||
NativeAccess<IN_CONCURRENT_ROOT>::oop_store(ptr, oop(NULL));
|
||||
NativeAccess<>::oop_store(ptr, oop(NULL));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue