equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2015, 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. |
30 class G1CollectedHeap; |
30 class G1CollectedHeap; |
31 class G1ParScanThreadState; |
31 class G1ParScanThreadState; |
32 |
32 |
33 // Simple holder object for a complete set of closures used by the G1 evacuation code. |
33 // Simple holder object for a complete set of closures used by the G1 evacuation code. |
34 template <G1Mark Mark> |
34 template <G1Mark Mark> |
35 class G1SharedClosures VALUE_OBJ_CLASS_SPEC { |
35 class G1SharedClosures { |
36 public: |
36 public: |
37 G1ParCopyClosure<G1BarrierNone, Mark> _oops; |
37 G1ParCopyClosure<G1BarrierNone, Mark> _oops; |
38 G1ParCopyClosure<G1BarrierCLD, Mark> _oops_in_cld; |
38 G1ParCopyClosure<G1BarrierCLD, Mark> _oops_in_cld; |
39 |
39 |
40 G1CLDScanClosure _clds; |
40 G1CLDScanClosure _clds; |