mirror of
https://github.com/openjdk/jdk.git
synced 2026-04-23 05:10:57 +00:00
8218970: SA: Enable HeapHprofBinWriter for ZGC
Reviewed-by: eosterlund, ysuenaga
This commit is contained in:
parent
f7e7180ff4
commit
e9af7c1561
@ -390,9 +390,6 @@ public class HeapHprofBinWriter extends AbstractHeapGraphWriter {
|
||||
|
||||
public synchronized void write(String fileName) throws IOException {
|
||||
VM vm = VM.getVM();
|
||||
if (vm.getUniverse().heap() instanceof ZCollectedHeap) {
|
||||
throw new RuntimeException("This operation is not supported with ZGC.");
|
||||
}
|
||||
|
||||
// open file stream and create buffered data output stream
|
||||
fos = new FileOutputStream(fileName);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user