mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
Merge
This commit is contained in:
commit
ae4642e749
448 changed files with 22114 additions and 7211 deletions
|
@ -60,10 +60,11 @@ void* _ValueObj::operator new [](size_t size) { ShouldNotCallThis(); return 0;
|
|||
void _ValueObj::operator delete [](void* p) { ShouldNotCallThis(); }
|
||||
|
||||
void* MetaspaceObj::operator new(size_t size, ClassLoaderData* loader_data,
|
||||
size_t word_size, bool read_only, TRAPS) {
|
||||
size_t word_size, bool read_only,
|
||||
MetaspaceObj::Type type, TRAPS) {
|
||||
// Klass has it's own operator new
|
||||
return Metaspace::allocate(loader_data, word_size, read_only,
|
||||
Metaspace::NonClassType, CHECK_NULL);
|
||||
type, CHECK_NULL);
|
||||
}
|
||||
|
||||
bool MetaspaceObj::is_shared() const {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue