changeset 18671:449583258a15

provided runtime independent toString() for HotSpotVMConfig
author Doug Simon <doug.simon@oracle.com>
date Fri, 12 Dec 2014 23:41:07 +0100
parents 8aeee4179e22
children db8ce7ad932b
files graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/HotSpotVMConfig.java
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/HotSpotVMConfig.java	Fri Dec 12 20:54:59 2014 +0100
+++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/HotSpotVMConfig.java	Fri Dec 12 23:41:07 2014 +0100
@@ -67,6 +67,11 @@
      */
     public final int maxFrameSize = 16 * 1024;
 
+    @Override
+    public String toString() {
+        return getClass().getSimpleName();
+    }
+
     HotSpotVMConfig(CompilerToVM compilerToVm) {
         compilerToVm.initializeConfiguration(this);
         assert verifyInitialization();