hotspot/src/share/vm/gc/g1/ptrQueue.cpp
changeset 46305 bff6d23aa1e3
parent 37065 c00d1c2ffb7c
child 46443 cdb638b5ec53
--- a/hotspot/src/share/vm/gc/g1/ptrQueue.cpp	Fri Mar 03 12:02:35 2017 +0100
+++ b/hotspot/src/share/vm/gc/g1/ptrQueue.cpp	Sat Mar 04 15:56:22 2017 -0500
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2001, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2017, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -42,7 +42,7 @@
 }
 
 void PtrQueue::flush_impl() {
-  if (!_permanent && _buf != NULL) {
+  if (_buf != NULL) {
     BufferNode* node = BufferNode::make_node_from_buffer(_buf, _index);
     if (is_empty()) {
       // No work to do.