equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2000, 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. |
182 spaceIterate(blk, false); |
182 spaceIterate(blk, false); |
183 } |
183 } |
184 |
184 |
185 /** Iteration - do not use for time critical operations */ |
185 /** Iteration - do not use for time critical operations */ |
186 public abstract void spaceIterate(SpaceClosure blk, boolean usedOnly); |
186 public abstract void spaceIterate(SpaceClosure blk, boolean usedOnly); |
|
187 public abstract void liveRegionsIterate(LiveRegionsClosure closure); |
187 |
188 |
188 public void print() { printOn(System.out); } |
189 public void print() { printOn(System.out); } |
189 public abstract void printOn(PrintStream tty); |
190 public abstract void printOn(PrintStream tty); |
190 |
191 |
191 public static class StatRecord extends VMObject { |
192 public static class StatRecord extends VMObject { |