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

changeset 1525
fa357420e7d2
parent 1051
4f360ec815ba
child 1546
44f61c24ddab
     1.1 --- a/src/share/vm/gc_implementation/g1/dirtyCardQueue.hpp	Fri Nov 20 14:47:01 2009 -0500
     1.2 +++ b/src/share/vm/gc_implementation/g1/dirtyCardQueue.hpp	Tue Nov 24 15:19:30 2009 -0800
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright 2001-2007 Sun Microsystems, Inc.  All Rights Reserved.
     1.6 + * Copyright 2001-2009 Sun Microsystems, Inc.  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 @@ -120,12 +120,13 @@
    1.11    // is returned to the completed buffer set, and this call returns false.
    1.12    bool apply_closure_to_completed_buffer(int worker_i = 0,
    1.13                                           int stop_at = 0,
    1.14 -                                         bool with_CAS = false);
    1.15 +                                         bool during_pause = false);
    1.16 +
    1.17    bool apply_closure_to_completed_buffer_helper(int worker_i,
    1.18                                                  CompletedBufferNode* nd);
    1.19  
    1.20 -  CompletedBufferNode* get_completed_buffer_CAS();
    1.21 -  CompletedBufferNode* get_completed_buffer_lock(int stop_at);
    1.22 +  CompletedBufferNode* get_completed_buffer(int stop_at);
    1.23 +
    1.24    // Applies the current closure to all completed buffers,
    1.25    // non-consumptively.
    1.26    void apply_closure_to_all_completed_buffers();

mercurial