src/hotspot/share/oops/arrayKlass.inline.hpp
changeset 50429 83aec1d357d4
parent 47634 6a0c42c40cd1
child 53244 9807daeb47c4
equal deleted inserted replaced
50428:8c88df2e8a78 50429:83aec1d357d4
     1 /*
     1 /*
     2  * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    23  */
    23  */
    24 
    24 
    25 #ifndef SHARE_VM_OOPS_ARRAYKLASS_INLINE_HPP
    25 #ifndef SHARE_VM_OOPS_ARRAYKLASS_INLINE_HPP
    26 #define SHARE_VM_OOPS_ARRAYKLASS_INLINE_HPP
    26 #define SHARE_VM_OOPS_ARRAYKLASS_INLINE_HPP
    27 
    27 
    28 #include "runtime/orderAccess.inline.hpp"
    28 #include "runtime/orderAccess.hpp"
    29 #include "oops/arrayKlass.hpp"
    29 #include "oops/arrayKlass.hpp"
    30 
    30 
    31 inline Klass* ArrayKlass::higher_dimension_acquire() const {
    31 inline Klass* ArrayKlass::higher_dimension_acquire() const {
    32   return OrderAccess::load_acquire(&_higher_dimension);
    32   return OrderAccess::load_acquire(&_higher_dimension);
    33 }
    33 }