< prev index next >

src/share/vm/gc_implementation/g1/concurrentMark.hpp

Print this page
rev 7903 : imported patch skip_stale

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2001, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2015, 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
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.

@@ -1055,10 +1055,11 @@
 
   int                         _local_pushes;
   int                         _local_pops;
   int                         _local_max_size;
   int                         _objs_scanned;
+  int                         _stale_humongous_queue_entries;
 
   int                         _global_pushes;
   int                         _global_pops;
   int                         _global_max_size;
 

@@ -1151,10 +1152,14 @@
   inline void deal_with_reference(oop obj);
 
   // It scans an object and visits its children.
   void scan_object(oop obj);
 
+  // Test whether the "object" obtained from a queue is really a stale
+  // reference to a reclaimed humongous object.
+  bool is_stale_humongous_queue_entry(oop obj) const;
+
   // It pushes an object on the local queue.
   inline void push(oop obj);
 
   // These two move entries to/from the global stack.
   void move_entries_to_global_stack();
< prev index next >