Skip to content

Commit 8fc6de2

Browse files
committed
unused method removed
1 parent 4954216 commit 8fc6de2

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

visualvm/libs.profiler/profiler/src/org/graalvm/visualvm/lib/profiler/LoadedSnapshot.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -269,12 +269,6 @@ public void setProject(Lookup.Provider project) {
269269
this.project = project;
270270
}
271271

272-
static void writeToStream(CPUResultsSnapshot snapshot, DataOutputStream dos) throws IOException {
273-
LoadedSnapshot loadedSnapshot = new LoadedSnapshot(snapshot,
274-
ProfilingSettingsPresets.createCPUPreset(), null, null);
275-
loadedSnapshot.save(dos);
276-
}
277-
278272
public void save(DataOutputStream dos) throws IOException, OutOfMemoryError {
279273
// todo [performance] profile memory use during the save operation
280274
// there is ~80MB bytes used for byte[], for the length of uncompressed data ~20MB

0 commit comments

Comments
 (0)