This specification is not final and is subject to change. Use is subject to license terms.
Skip navigation links
Java SE 19 & JDK 19
DRAFT 19-internal-adhoc.aph.loom
  • Overview
  • Module
  • Package
  • Class
  • Use
  • Tree
  • Preview
  • New
  • Deprecated
  • Index
  • Help
SEARCH

Preview API

Contents

  • Interfaces
  • Classes
  • Enum Classes
  • Methods
  • Enum Constants
  • Interfaces
    Interface
    Description
    com.sun.source.tree.CaseLabelTreePREVIEW
    A marker interface for Trees that may be used as CaseTree labels.
    com.sun.source.tree.DefaultCaseLabelTreePREVIEW
    A case label that marks default in case null, default.
    com.sun.source.tree.GuardedPatternTreePREVIEW
    A guard pattern tree.
    com.sun.source.tree.ParenthesizedPatternTreePREVIEW
    A tree node for a parenthesized pattern.
    java.lang.Thread.BuilderPREVIEW
    A builder for Thread and ThreadFactory objects.
    java.lang.Thread.Builder.OfPlatformPREVIEW
    A builder for creating a platform Thread or ThreadFactory that creates platform threads.
    java.lang.Thread.Builder.OfVirtualPREVIEW
    A builder for creating a virtual Thread or ThreadFactory that creates virtual threads.
  • Classes
    Class
    Description
    java.lang.runtime.SwitchBootstrapsPREVIEW
    Bootstrap methods for linking invokedynamic call sites that implement the selection functionality of the switch statement.
  • Enum Classes
    Enum Class
    Description
    com.sun.management.HotSpotDiagnosticMXBean.ThreadDumpFormatPREVIEW
    Thread dump format.
  • Methods
    Method
    Description
    com.sun.jdi.request.ThreadDeathRequest.addPlatformThreadsOnlyFilter()PREVIEW
    Restricts the events generated by this request to only platform threads.
    com.sun.jdi.request.ThreadStartRequest.addPlatformThreadsOnlyFilter()PREVIEW
    Restricts the events generated by this request to only platform threads.
    com.sun.jdi.ThreadReference.isVirtual()PREVIEW
    Returns true if the thread is a virtual thread.
    com.sun.management.HotSpotDiagnosticMXBean.dumpThreads(String, HotSpotDiagnosticMXBean.ThreadDumpFormat)PREVIEW
    Generate a thread dump to the given file in the given format.
    com.sun.source.tree.CaseTree.getLabels()PREVIEW
    Returns the labels for this case.
    com.sun.source.tree.TreeVisitor.visitDefaultCaseLabel(DefaultCaseLabelTree, P)PREVIEW
    Visits a DefaultCaseLabelTree node.
    com.sun.source.tree.TreeVisitor.visitGuardedPattern(GuardedPatternTree, P)PREVIEW
    Visits a GuardPatternTree node.
    com.sun.source.tree.TreeVisitor.visitParenthesizedPattern(ParenthesizedPatternTree, P)PREVIEW
    Visits a ParenthesizedPatternTree node.
    com.sun.source.util.SimpleTreeVisitor.visitDefaultCaseLabel(DefaultCaseLabelTree, P)PREVIEW
    Visits a DefaultCaseLabelTree node.
    com.sun.source.util.SimpleTreeVisitor.visitGuardedPattern(GuardedPatternTree, P)PREVIEW
    Visits a GuardPatternTree node.
    com.sun.source.util.SimpleTreeVisitor.visitParenthesizedPattern(ParenthesizedPatternTree, P)PREVIEW
    Visits a ParenthesizedPatternTree node.
    com.sun.source.util.TreeScanner.visitDefaultCaseLabel(DefaultCaseLabelTree, P)PREVIEW
    Visits a DefaultCaseLabelTree node.
    com.sun.source.util.TreeScanner.visitGuardedPattern(GuardedPatternTree, P)PREVIEW
    Visits a GuardPatternTree node.
    com.sun.source.util.TreeScanner.visitParenthesizedPattern(ParenthesizedPatternTree, P)PREVIEW
    Visits a ParenthesizedPatternTree node.
    java.lang.Thread.isVirtual()PREVIEW
    Returns true if this thread is a virtual thread.
    java.lang.Thread.ofPlatform()PREVIEW
    Returns a builder for creating a platform Thread or ThreadFactory that creates platform threads.
    java.lang.Thread.ofVirtual()PREVIEW
    Returns a builder for creating a virtual Thread or ThreadFactory that creates virtual threads.
    java.lang.Thread.startVirtualThread(Runnable)PREVIEW
    Creates a virtual thread to execute a task and schedules it to execute.
    java.util.concurrent.Executors.newThreadPerTaskExecutor(ThreadFactory)PREVIEW
    Creates an Executor that starts a new Thread for each task.
    java.util.concurrent.Executors.newVirtualThreadPerTaskExecutor()PREVIEW
    Creates an Executor that starts a new virtual Thread for each task.
    jdk.jfr.consumer.RecordedThread.isVirtual()PREVIEW
    Returns true if this is a virtual Thread, false otherwise.
  • Enum Constants
    Enum Constant
    Description
    com.sun.source.tree.Tree.Kind.DEFAULT_CASE_LABELPREVIEW
    Used for instances of DefaultCaseLabelTreePREVIEW.
    com.sun.source.tree.Tree.Kind.GUARDED_PATTERNPREVIEW
    Used for instances of GuardedPatternTreePREVIEW.
    com.sun.source.tree.Tree.Kind.PARENTHESIZED_PATTERNPREVIEW
    Used for instances of ParenthesizedPatternTreePREVIEW.

Report a bug or suggest an enhancement
For further API reference and developer documentation see the Java SE Documentation, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples. Other versions.
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1993, 2022, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.
All rights reserved. Use is subject to license terms and the documentation redistribution policy.
DRAFT 19-internal-adhoc.aph.loom