mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 18:14:38 +02:00
8244550: Unsafe::allocateInstance does redundant transitions
Reviewed-by: coleenp, mchung, dholmes
This commit is contained in:
parent
62bf2d07e7
commit
c2780c9556
16 changed files with 40 additions and 31 deletions
|
@ -958,6 +958,7 @@ public:
|
|||
}
|
||||
// allocation
|
||||
instanceOop allocate_instance(TRAPS);
|
||||
static instanceOop allocate_instance(oop cls, TRAPS);
|
||||
|
||||
// additional member function to return a handle
|
||||
instanceHandle allocate_instance_handle(TRAPS);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue