Mercurial > hg > shenandoah-visualizer
view src/main/java/org/openjdk/shenandoah/SnapshotView.java @ 36:148d3cf69970
Rehash timeline colors
author | shade |
---|---|
date | Tue, 19 Sep 2017 21:21:01 +0200 |
parents | e22defb2a606 |
children |
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 committed; private final long used; private final long live; private final long humongous; private final long collectionSet; private final long trash; public SnapshotView(Snapshot s) { time = s.time(); phase = s.phase(); total = total(); committed = s.committed(); used = s.used(); live = s.live(); humongous = s.humongous(); collectionSet = s.collectionSet(); trash = s.trash(); } public Phase phase() { return phase; } public long time() { return time; } public long total() { return total; } public long used() { return used; } public long collectionSet() { return collectionSet; } public long trash() { return trash; } public long committed() { return committed; } public long humongous() { return humongous; } public long live() { return live; } }