diff src/share/vm/gc_implementation/g1/satbQueue.hpp @ 20731:42c091d63c72

8048949: Requeue queue implementation Summary: devirtualize flush and move calls Reviewed-by: brutisso, tschatzl, mschoene Contributed-by: kim.barrett@oracle.com
author tschatzl
date Mon, 04 Aug 2014 10:49:40 -0400
parents 8847586c9037
children c2844108a708
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/g1/satbQueue.hpp	Tue Aug 12 17:46:16 2014 -0400
+++ b/src/share/vm/gc_implementation/g1/satbQueue.hpp	Mon Aug 04 10:49:40 2014 -0400
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2001, 2012, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2014, 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
@@ -58,9 +58,8 @@
     // field to true. This is done in JavaThread::initialize_queues().
     PtrQueue(qset, perm, false /* active */) { }
 
-  // Overrides PtrQueue::flush() so that it can filter the buffer
-  // before it is flushed.
-  virtual void flush();
+  // Process queue entries and free resources.
+  void flush();
 
   // Overrides PtrQueue::should_enqueue_buffer(). See the method's
   // definition for more information.