src/share/vm/memory/referenceProcessor.hpp

changeset 4037
da91efe96a93
parent 3900
d2a62e0f25eb
child 5237
f2110083203d
     1.1 --- a/src/share/vm/memory/referenceProcessor.hpp	Fri Aug 31 16:39:35 2012 -0700
     1.2 +++ b/src/share/vm/memory/referenceProcessor.hpp	Sat Sep 01 13:25:18 2012 -0400
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 2001, 2011, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 2001, 2012, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -345,13 +345,11 @@
    1.11    // The caller is responsible for taking care of potential
    1.12    // interference with concurrent operations on these lists
    1.13    // (or predicates involved) by other threads. Currently
    1.14 -  // only used by the CMS collector.  should_unload_classes is
    1.15 -  // used to aid assertion checking when classes are collected.
    1.16 +  // only used by the CMS collector.
    1.17    void preclean_discovered_references(BoolObjectClosure* is_alive,
    1.18                                        OopClosure*        keep_alive,
    1.19                                        VoidClosure*       complete_gc,
    1.20 -                                      YieldClosure*      yield,
    1.21 -                                      bool               should_unload_classes);
    1.22 +                                      YieldClosure*      yield);
    1.23  
    1.24    // Delete entries in the discovered lists that have
    1.25    // either a null referent or are not active. Such
    1.26 @@ -496,6 +494,7 @@
    1.27  
    1.28    // Balance each of the discovered lists.
    1.29    void balance_all_queues();
    1.30 +  void verify_list(DiscoveredList& ref_list);
    1.31  
    1.32    // Discover a Reference object, using appropriate discovery criteria
    1.33    bool discover_reference(oop obj, ReferenceType rt);

mercurial