mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
6902115: G1:assert(ignore_max_completed||thread->is_Java_thread()||SafepointSynchronize::is_at_safepoint())
Remove invalid assert and mangle filler objects in TLABs that are being retired. Reviewed-by: ysr, jmasa
This commit is contained in:
parent
c0174fb200
commit
0917ad432e
4 changed files with 29 additions and 24 deletions
|
@ -100,7 +100,7 @@ void ThreadLocalAllocBuffer::accumulate_statistics() {
|
|||
void ThreadLocalAllocBuffer::make_parsable(bool retire) {
|
||||
if (end() != NULL) {
|
||||
invariants();
|
||||
CollectedHeap::fill_with_object(top(), hard_end());
|
||||
CollectedHeap::fill_with_object(top(), hard_end(), retire);
|
||||
|
||||
if (retire || ZeroTLAB) { // "Reset" the TLAB
|
||||
set_start(NULL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue