equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2001, 2017, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
248 G1RefineCardConcurrentlyClosure cl; |
248 G1RefineCardConcurrentlyClosure cl; |
249 return apply_closure_to_completed_buffer(&cl, worker_i, stop_at, false); |
249 return apply_closure_to_completed_buffer(&cl, worker_i, stop_at, false); |
250 } |
250 } |
251 |
251 |
252 bool DirtyCardQueueSet::apply_closure_during_gc(CardTableEntryClosure* cl, uint worker_i) { |
252 bool DirtyCardQueueSet::apply_closure_during_gc(CardTableEntryClosure* cl, uint worker_i) { |
253 assert_at_safepoint(false); |
253 assert_at_safepoint(); |
254 return apply_closure_to_completed_buffer(cl, worker_i, 0, true); |
254 return apply_closure_to_completed_buffer(cl, worker_i, 0, true); |
255 } |
255 } |
256 |
256 |
257 bool DirtyCardQueueSet::apply_closure_to_completed_buffer(CardTableEntryClosure* cl, |
257 bool DirtyCardQueueSet::apply_closure_to_completed_buffer(CardTableEntryClosure* cl, |
258 uint worker_i, |
258 uint worker_i, |