• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.debug/src/org/graalvm/compiler/debug/

Lines Matching defs:scope

58                  * Always print the current scope, scopes with context and the any scope whose
59 * parent didn't print. This ensure the first new scope always shows up.
62 str.append(indent).append("[thread:").append(Thread.currentThread().getId()).append("] scope: ").append(getQualifiedName()).append(System.lineSeparator());
70 * Print or count the context objects for the current scope.
75 // Include some context in the scope output
237 * Creates and enters a new scope which is either a child of the current scope or a disjoint top
238 * level scope.
240 * @param name the name of the new scope
241 * @param sandboxConfig the configuration to use for a new top level scope, or null if the new
242 * scope should be a child scope
244 * @return the new scope which will be exited when its {@link #close()} method is called
246 public ScopeImpl scope(CharSequence name, DebugConfig sandboxConfig, Object... newContextObjects) {
266 assert lastClosed.parent == this : "DebugContext.handle() used without closing a scope opened by DebugContext.scope(...) or DebugContext.sandbox(...) " +
267 "or an exception occurred while opening a scope";
270 // Make the scope in which the exception was thrown
271 // the current scope again.
291 throw new AssertionError("DebugContext.handle() used without closing a scope opened by DebugContext.scope(...) or DebugContext.sandbox(...) " +
292 "or an exception occurred while opening a scope");
345 try (ScopeImpl s = scope("InterceptException", null, e)) {
360 final ScopeImpl scope = this;
367 ScopeImpl currentScope = scope;