mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8191102: Incorrect include file use in classLoader.hpp
Move appropriate methods to <fiile>.inline.hpp files. Create <file>.inline.hpp files when needed. Reviewed-by: coleenp, dholmes
This commit is contained in:
parent
8d5496fd27
commit
c0bc887c36
58 changed files with 629 additions and 208 deletions
|
@ -27,7 +27,6 @@
|
|||
|
||||
#include "memory/allocation.hpp"
|
||||
#include "memory/metaspace.hpp"
|
||||
#include "runtime/orderAccess.hpp"
|
||||
#include "utilities/align.hpp"
|
||||
|
||||
// Array for metadata allocation
|
||||
|
@ -122,8 +121,8 @@ protected:
|
|||
T* adr_at(const int i) { assert(i >= 0 && i< _length, "oob: 0 <= %d < %d", i, _length); return &_data[i]; }
|
||||
int find(const T& x) { return index_of(x); }
|
||||
|
||||
T at_acquire(const int which) { return OrderAccess::load_acquire(adr_at(which)); }
|
||||
void release_at_put(int which, T contents) { OrderAccess::release_store(adr_at(which), contents); }
|
||||
T at_acquire(const int which);
|
||||
void release_at_put(int which, T contents);
|
||||
|
||||
static int size(int length) {
|
||||
size_t bytes = align_up(byte_sizeof(length), BytesPerWord);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue