jdk/test/demo/jvmti/hprof/MonitorTest.java
changeset 22999 8212fb968f9b
parent 5506 202f599c92aa
--- a/jdk/test/demo/jvmti/hprof/MonitorTest.java	Thu Feb 20 09:57:26 2014 -0800
+++ b/jdk/test/demo/jvmti/hprof/MonitorTest.java	Thu Feb 20 23:16:47 2014 +0400
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2004, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -42,7 +42,7 @@
         DemoRun hprof;
 
         /* Run JVMTI hprof agent with monitor=y */
-        hprof = new DemoRun("hprof", "monitor=y");
+        hprof = new DemoRun("hprof", "monitor=y,file=monitor.txt");
         hprof.runit(args[0]);
 
         /* Make sure patterns in output look ok */