# HG changeset patch # User Tom Rodriguez # Date 1418786748 28800 # Node ID 41d12b67bc9e38019e80f0edce9adf6f9af83f77 # Parent d854f8a5256f2d01cead159ef5574d2c6bd843ad Improve javadoc diff -r d854f8a5256f -r 41d12b67bc9e graal/com.oracle.graal.debug/src/com/oracle/graal/debug/internal/DebugScope.java --- 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 */