< prev index next >

src/hotspot/share/gc/shared/collectedHeap.inline.hpp

Print this page
*** 39,12 ***
  inline oop CollectedHeap::array_allocate(Klass* klass, size_t size, int length, bool do_zero, TRAPS) {
    ObjArrayAllocator allocator(klass, size, length, do_zero, THREAD);
    return allocator.allocate();
  }
  
! inline oop CollectedHeap::class_allocate(Klass* klass, size_t size, TRAPS) {
!   ClassAllocator allocator(klass, size, THREAD);
    return allocator.allocate();
  }
  
  inline void CollectedHeap::add_vmthread_cpu_time(jlong time) {
    _vmthread_cpu_time += time;
--- 39,12 ---
  inline oop CollectedHeap::array_allocate(Klass* klass, size_t size, int length, bool do_zero, TRAPS) {
    ObjArrayAllocator allocator(klass, size, length, do_zero, THREAD);
    return allocator.allocate();
  }
  
! inline oop CollectedHeap::class_allocate(Klass* klass, size_t size, size_t base_size, TRAPS) {
!   ClassAllocator allocator(klass, size, base_size, THREAD);
    return allocator.allocate();
  }
  
  inline void CollectedHeap::add_vmthread_cpu_time(jlong time) {
    _vmthread_cpu_time += time;
< prev index next >