equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2015, 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. |
23 */ |
23 */ |
24 |
24 |
25 #ifndef SHARE_VM_GC_G1_G1SURVIVORREGIONS_HPP |
25 #ifndef SHARE_VM_GC_G1_G1SURVIVORREGIONS_HPP |
26 #define SHARE_VM_GC_G1_G1SURVIVORREGIONS_HPP |
26 #define SHARE_VM_GC_G1_G1SURVIVORREGIONS_HPP |
27 |
27 |
28 #include "memory/allocation.hpp" |
|
29 #include "runtime/globals.hpp" |
28 #include "runtime/globals.hpp" |
30 |
29 |
31 template <typename T> |
30 template <typename T> |
32 class GrowableArray; |
31 class GrowableArray; |
33 class HeapRegion; |
32 class HeapRegion; |
34 |
33 |
35 class G1SurvivorRegions VALUE_OBJ_CLASS_SPEC { |
34 class G1SurvivorRegions { |
36 private: |
35 private: |
37 GrowableArray<HeapRegion*>* _regions; |
36 GrowableArray<HeapRegion*>* _regions; |
38 |
37 |
39 public: |
38 public: |
40 G1SurvivorRegions(); |
39 G1SurvivorRegions(); |