mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
8229127: Make some methods in the allocation path non-virtual
Reviewed-by: eosterlund
This commit is contained in:
parent
3460bce1c2
commit
1801dd06b0
2 changed files with 5 additions and 7 deletions
|
@ -254,9 +254,9 @@ class CollectedHeap : public CHeapObj<mtInternal> {
|
|||
}
|
||||
GCCause::Cause gc_cause() { return _gc_cause; }
|
||||
|
||||
virtual oop obj_allocate(Klass* klass, int size, TRAPS);
|
||||
oop obj_allocate(Klass* klass, int size, TRAPS);
|
||||
virtual oop array_allocate(Klass* klass, int size, int length, bool do_zero, TRAPS);
|
||||
virtual oop class_allocate(Klass* klass, int size, TRAPS);
|
||||
oop class_allocate(Klass* klass, int size, TRAPS);
|
||||
|
||||
// Utilities for turning raw memory into filler objects.
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue