mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +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) 1997, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 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
|
||||
|
@ -74,8 +74,8 @@ class ObjArrayKlass : public ArrayKlass {
|
|||
int oop_size(oop obj) const;
|
||||
|
||||
// Allocation
|
||||
static Klass* allocate_objArray_klass(ClassLoaderData* loader_data,
|
||||
int n, Klass* element_klass, TRAPS);
|
||||
static ObjArrayKlass* allocate_objArray_klass(ClassLoaderData* loader_data,
|
||||
int n, Klass* element_klass, TRAPS);
|
||||
|
||||
objArrayOop allocate(int length, TRAPS);
|
||||
oop multi_allocate(int rank, jint* sizes, TRAPS);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue