< prev index next >

src/share/vm/gc/g1/heapRegion.hpp

Print this page
rev 12513 : 8071278: Fix the closure mess in G1RemSet::refine_card()
Summary: Remove the use of many nested closure in the code to refine a card.
Reviewed-by: kbarrett, sjohanss

*** 1,7 **** /* ! * Copyright (c) 2001, 2016, 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. --- 1,7 ---- /* ! * Copyright (c) 2001, 2017, 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.
*** 659,669 **** // Returns true if the designated objects were successfully // processed, false if an unparsable part of the heap was // encountered; that only happens when invoked concurrently with the // mutator. bool oops_on_card_seq_iterate_careful(MemRegion mr, ! FilterOutOfRegionClosure* cl); size_t recorded_rs_length() const { return _recorded_rs_length; } double predicted_elapsed_time_ms() const { return _predicted_elapsed_time_ms; } void set_recorded_rs_length(size_t rs_length) { --- 659,669 ---- // Returns true if the designated objects were successfully // processed, false if an unparsable part of the heap was // encountered; that only happens when invoked concurrently with the // mutator. bool oops_on_card_seq_iterate_careful(MemRegion mr, ! G1UpdateRSOrPushRefOopClosure* cl); size_t recorded_rs_length() const { return _recorded_rs_length; } double predicted_elapsed_time_ms() const { return _predicted_elapsed_time_ms; } void set_recorded_rs_length(size_t rs_length) {
< prev index next >