Module jdk.jfr
Package jdk.jfr

Annotation Type Experimental



  • @Inherited
    @Retention(RUNTIME)
    @Target({FIELD,TYPE})
    public @interface Experimental
    Annotation that signifies that an element is experimental and may change without further notice.

    Clients visualizing Flight Recorder events should not show events or fields annotated with the Experimental annotation. This is to allow event producers the freedom to try out new events without committing to them.

    Clients may provide a check box, for instance in a preference page, where a user can opt-in to display experimental data. If the user decide to do so, the user interface should mark experimental events or fields so user can distinguish them non-experimental events.

    This annotation is inherited.

    Since:
    9