changeset 18703:41d12b67bc9e

Improve javadoc
author Tom Rodriguez <tom.rodriguez@oracle.com>
date Tue, 16 Dec 2014 19:25:48 -0800
parents d854f8a5256f
children 0ce6ee3d7a98
files graal/com.oracle.graal.debug/src/com/oracle/graal/debug/internal/DebugScope.java
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.graal.debug/src/com/oracle/graal/debug/internal/DebugScope.java	Tue Dec 16 23:37:35 2014 +0100
+++ b/graal/com.oracle.graal.debug/src/com/oracle/graal/debug/internal/DebugScope.java	Tue Dec 16 19:25:48 2014 -0800
@@ -170,13 +170,13 @@
     }
 
     /**
-     * Enable dumping at the new {@code dumpLevel} for remainder of compile. Requires a
-     * TopLevelDebugConfig
+     * Enable dumping at the new {@code dumpLevel} for the remainder of enclosing scopes. This only
+     * works if a {@link TopLevelDebugConfig} was installed at a higher scope.
      *
      * @param dumpLevel
      */
     public static void setDumpLevel(int dumpLevel) {
-        TopLevelDebugConfig config = fetchTopLevelDebugConfig("setLogLevel");
+        TopLevelDebugConfig config = fetchTopLevelDebugConfig("setDebugLevel");
         if (config != null) {
             config.override(DelegatingDebugConfig.Level.DUMP, dumpLevel);
             recursiveUpdateFlags();
@@ -184,8 +184,8 @@
     }
 
     /**
-     * Enable logging at the new {@code logLevel} for remainder of compile. Requires a
-     * TopLevelDebugConfig
+     * Enable logging at the new {@code logLevel} for the remainder of enclosing scopes. This only
+     * works if a {@link TopLevelDebugConfig} was installed at a higher scope.
      *
      * @param logLevel
      */