Mercurial > hg > shenandoah-visualizer
view src/main/java/org/openjdk/shenandoah/SnapshotView.java @ 24:b3bcfd491862
Phase enum.
author | shade |
---|---|
date | Fri, 14 Apr 2017 20:02:16 +0200 |
parents | 82fe7737b8b1 |
children | 0aaf8f291161 |
line wrap: on
line source
package org.openjdk.shenandoah; public class SnapshotView { private final long time; private final Phase phase; private final long total; private final long used; private final long live; private final long recentlyAllocated; private final long humongous; private final long collectionSet; public SnapshotView(Snapshot s) { time = s.time(); phase = s.phase(); total = total(); used = s.used(); live = s.live(); recentlyAllocated = s.recentlyAllocated(); humongous = s.humongous(); collectionSet = s.collectionSet(); } public Phase phase() { return phase; } public long time() { return time; } public long total() { return total; } public long used() { return used; } public long recentlyAllocated() { return recentlyAllocated; } public long collectionSet() { return collectionSet; } public long humongous() { return humongous; } public long live() { return live; } }