src/hotspot/share/gc/z/zPageCache.cpp
changeset 54162 f344a0c6e19e
parent 50525 767cdb97f103
child 54168 eb54b34af2be
--- a/src/hotspot/share/gc/z/zPageCache.cpp	Mon Mar 18 11:50:39 2019 +0100
+++ b/src/hotspot/share/gc/z/zPageCache.cpp	Mon Mar 18 11:50:39 2019 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2015, 2019, 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
@@ -119,7 +119,6 @@
 
 void ZPageCache::free_page(ZPage* page) {
   assert(!page->is_active(), "Invalid page state");
-  assert(!page->is_pinned(), "Invalid page state");
   assert(!page->is_detached(), "Invalid page state");
 
   const uint8_t type = page->type();