src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/gc/cms/ConcurrentMarkSweepGeneration.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2003, 2019, 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. |
64 public long contiguousAvailable() { throw new RuntimeException("not yet implemented"); } |
64 public long contiguousAvailable() { throw new RuntimeException("not yet implemented"); } |
65 public boolean contains(Address p) { return cmsSpace().contains(p); } |
65 public boolean contains(Address p) { return cmsSpace().contains(p); } |
66 public void spaceIterate(SpaceClosure blk, boolean usedOnly) { |
66 public void spaceIterate(SpaceClosure blk, boolean usedOnly) { |
67 blk.doSpace(cmsSpace()); |
67 blk.doSpace(cmsSpace()); |
68 } |
68 } |
|
69 public void liveRegionsIterate(LiveRegionsClosure closure) { |
|
70 closure.doLiveRegions(cmsSpace()); |
|
71 } |
69 |
72 |
70 public Generation.Name kind() { |
73 public Generation.Name kind() { |
71 return Generation.Name.CONCURRENT_MARK_SWEEP; |
74 return Generation.Name.CONCURRENT_MARK_SWEEP; |
72 } |
75 } |
73 |
76 |