< prev index next >
src/hotspot/share/gc/shared/collectedHeap.hpp
Print this page
rev 50092 : [mq]: allocations-rt.patch
@@ -172,11 +172,11 @@
// Fill with a single array; caller must ensure filler_array_min_size() <=
// words <= filler_array_max_size().
static inline void fill_with_array(HeapWord* start, size_t words, bool zap = true);
// Fill with a single object (either an int array or a java.lang.Object).
- static inline void fill_with_object_impl(HeapWord* start, size_t words, bool zap = true);
+ virtual void fill_with_object_impl(HeapWord* start, size_t words, bool zap = true);
virtual void trace_heap(GCWhen::Type when, const GCTracer* tracer);
// Verification functions
virtual void check_for_bad_heap_word_value(HeapWord* addr, size_t size)
@@ -199,12 +199,10 @@
return _filler_array_max_size;
}
virtual Name kind() const = 0;
- virtual HeapWord* tlab_post_allocation_setup(HeapWord* obj);
-
virtual const char* name() const = 0;
/**
* Returns JNI error code JNI_ENOMEM if memory could not be allocated,
* and JNI_OK on success.
@@ -315,11 +313,11 @@
// Raw memory allocation facilities
// The obj and array allocate methods are covers for these methods.
// mem_allocate() should never be
// called to allocate TLABs, only individual objects.
- virtual HeapWord* mem_allocate(size_t size,
+ virtual HeapWord* mem_allocate(size_t size, Klass* klass, Thread* thread,
bool* gc_overhead_limit_was_exceeded) = 0;
// Utilities for turning raw memory into filler objects.
//
// min_fill_size() is the smallest region that can be filled.
< prev index next >