Mercurial > hg > truffle
comparison agent/src/share/classes/sun/jvm/hotspot/tools/FinalizerInfo.java @ 12932:7fe6ef09d242
8025638: jmap returns 0 instead of 1 when it fails.
Summary: Re-factored some code handling return values and fails/errors during tool execution.
Reviewed-by: sla, kevinw
Contributed-by: fredrik.arvidsson@oracle.com
author | farvidsson |
---|---|
date | Wed, 16 Oct 2013 09:20:23 +0200 |
parents | 38ea2efa32a7 |
children | de6a9e811145 |
comparison
equal
deleted
inserted
replaced
12859:f509b8f4699b | 12932:7fe6ef09d242 |
---|---|
52 super(d); | 52 super(d); |
53 } | 53 } |
54 | 54 |
55 public static void main(String[] args) { | 55 public static void main(String[] args) { |
56 FinalizerInfo finfo = new FinalizerInfo(); | 56 FinalizerInfo finfo = new FinalizerInfo(); |
57 finfo.start(args); | 57 finfo.execute(args); |
58 finfo.stop(); | |
59 } | 58 } |
60 | 59 |
61 public void run() { | 60 public void run() { |
62 /* | 61 /* |
63 * The implementation here has a dependency on the implementation of | 62 * The implementation here has a dependency on the implementation of |