mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 09:34:38 +02:00
8242898: Clean up InstanceKlass::_array_klasses
Make type ObjArrayKlass Reviewed-by: dholmes, iklam
This commit is contained in:
parent
68e53065e0
commit
3153373e49
6 changed files with 20 additions and 23 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -34,11 +34,11 @@
|
|||
#include "utilities/globalDefinitions.hpp"
|
||||
#include "utilities/macros.hpp"
|
||||
|
||||
inline Klass* InstanceKlass::array_klasses_acquire() const {
|
||||
inline ObjArrayKlass* InstanceKlass::array_klasses_acquire() const {
|
||||
return Atomic::load_acquire(&_array_klasses);
|
||||
}
|
||||
|
||||
inline void InstanceKlass::release_set_array_klasses(Klass* k) {
|
||||
inline void InstanceKlass::release_set_array_klasses(ObjArrayKlass* k) {
|
||||
Atomic::release_store(&_array_klasses, k);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue