mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 10:04:42 +02:00
8214786: Remove unused ThreadLocalAllocBuffer::verify()
Reviewed-by: kbarrett, eosterlund
This commit is contained in:
parent
dc8383c930
commit
9b6ea802b5
2 changed files with 0 additions and 14 deletions
|
@ -279,18 +279,6 @@ void ThreadLocalAllocBuffer::print_stats(const char* tag) {
|
||||||
_fast_refill_waste * HeapWordSize);
|
_fast_refill_waste * HeapWordSize);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ThreadLocalAllocBuffer::verify() {
|
|
||||||
HeapWord* p = start();
|
|
||||||
HeapWord* t = top();
|
|
||||||
HeapWord* prev_p = NULL;
|
|
||||||
while (p < t) {
|
|
||||||
oopDesc::verify(oop(p));
|
|
||||||
prev_p = p;
|
|
||||||
p += oop(p)->size();
|
|
||||||
}
|
|
||||||
guarantee(p == top(), "end of last object must match end of space");
|
|
||||||
}
|
|
||||||
|
|
||||||
void ThreadLocalAllocBuffer::set_sample_end() {
|
void ThreadLocalAllocBuffer::set_sample_end() {
|
||||||
size_t heap_words_remaining = pointer_delta(_end, _top);
|
size_t heap_words_remaining = pointer_delta(_end, _top);
|
||||||
size_t bytes_until_sample = thread()->heap_sampler().bytes_until_sample();
|
size_t bytes_until_sample = thread()->heap_sampler().bytes_until_sample();
|
||||||
|
|
|
@ -188,8 +188,6 @@ public:
|
||||||
static ByteSize end_offset() { return byte_offset_of(ThreadLocalAllocBuffer, _end); }
|
static ByteSize end_offset() { return byte_offset_of(ThreadLocalAllocBuffer, _end); }
|
||||||
static ByteSize top_offset() { return byte_offset_of(ThreadLocalAllocBuffer, _top); }
|
static ByteSize top_offset() { return byte_offset_of(ThreadLocalAllocBuffer, _top); }
|
||||||
static ByteSize pf_top_offset() { return byte_offset_of(ThreadLocalAllocBuffer, _pf_top); }
|
static ByteSize pf_top_offset() { return byte_offset_of(ThreadLocalAllocBuffer, _pf_top); }
|
||||||
|
|
||||||
void verify();
|
|
||||||
};
|
};
|
||||||
|
|
||||||
class ThreadLocalAllocStats : public StackObj {
|
class ThreadLocalAllocStats : public StackObj {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue