Class CodeCacheLayoutStage

java.lang.Object
javafx.stage.Window
javafx.stage.Stage
org.adoptopenjdk.jitwatch.ui.nmethod.AbstractNMethodStage
org.adoptopenjdk.jitwatch.ui.nmethod.codecache.CodeCacheLayoutStage
All Implemented Interfaces:
javafx.event.EventTarget, ICompilationChangeListener, IPrevNextCompilationListener, IRedrawable

public class CodeCacheLayoutStage extends AbstractNMethodStage
  • Property Summary

    Properties inherited from class javafx.stage.Stage

    alwaysOnTop, fullScreenExitHint, fullScreenExitKey, fullScreen, iconified, maxHeight, maximized, maxWidth, minHeight, minWidth, resizable, title

    Properties inherited from class javafx.stage.Window

    eventDispatcher, focused, forceIntegerRenderScale, height, onCloseRequest, onHidden, onHiding, onShowing, onShown, opacity, outputScaleX, outputScaleY, renderScaleX, renderScaleY, scene, showing, width, x, y
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private long
     
    private javafx.scene.control.Button
     
    private javafx.scene.control.CheckBox
     
    private javafx.scene.control.CheckBox
     
     
    private boolean
     
    private boolean
     
    private double
     
    private long
     
    private static final javafx.scene.paint.Color
     
    private javafx.scene.control.Label
     
    private javafx.scene.control.Label
     
    private javafx.scene.control.Label
     
    private javafx.scene.control.Label
     
    private long
     
    private static final javafx.scene.paint.Color
     
    private javafx.scene.control.TextField
     
    private double
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private void
    animate(double targetSeconds)
     
    private javafx.scene.layout.HBox
    buildControlButtons(javafx.scene.Scene scene)
     
    private javafx.scene.layout.HBox
     
    protected javafx.scene.layout.VBox
    buildControls(javafx.scene.Scene scene)
     
    private void
    plotCompilation(double x, double y, double w, double h, javafx.scene.paint.Color fillColour, Compilation compilation, boolean clickHandler)
     
    private boolean
     
    void
     
    private boolean
     

    Methods inherited from class org.adoptopenjdk.jitwatch.ui.nmethod.AbstractNMethodStage

    attachListener, clear, compilationChanged, plotMarker, plotMarker, selectNextCompilation, selectPrevCompilation

    Methods inherited from class javafx.stage.Stage

    alwaysOnTopProperty, close, fullScreenExitHintProperty, fullScreenExitKeyProperty, fullScreenProperty, getFullScreenExitHint, getFullScreenExitKeyCombination, getIcons, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getModality, getOwner, getStyle, getTitle, iconifiedProperty, initModality, initOwner, initStyle, isAlwaysOnTop, isFullScreen, isIconified, isMaximized, isResizable, maxHeightProperty, maximizedProperty, maxWidthProperty, minHeightProperty, minWidthProperty, resizableProperty, setAlwaysOnTop, setFullScreen, setFullScreenExitHint, setFullScreenExitKeyCombination, setIconified, setMaxHeight, setMaximized, setMaxWidth, setMinHeight, setMinWidth, setResizable, setScene, setTitle, show, showAndWait, titleProperty, toBack, toFront

    Methods inherited from class javafx.stage.Window

    addEventFilter, addEventHandler, buildEventDispatchChain, centerOnScreen, eventDispatcherProperty, fireEvent, focusedProperty, forceIntegerRenderScaleProperty, getEventDispatcher, getHeight, getOnCloseRequest, getOnHidden, getOnHiding, getOnShowing, getOnShown, getOpacity, getOutputScaleX, getOutputScaleY, getProperties, getRenderScaleX, getRenderScaleY, getScene, getUserData, getWidth, getWindows, getX, getY, hasProperties, heightProperty, hide, isFocused, isForceIntegerRenderScale, isShowing, onCloseRequestProperty, onHiddenProperty, onHidingProperty, onShowingProperty, onShownProperty, opacityProperty, outputScaleXProperty, outputScaleYProperty, removeEventFilter, removeEventHandler, renderScaleXProperty, renderScaleYProperty, requestFocus, sceneProperty, setEventDispatcher, setEventHandler, setForceIntegerRenderScale, setHeight, setOnCloseRequest, setOnHidden, setOnHiding, setOnShowing, setOnShown, setOpacity, setRenderScaleX, setRenderScaleY, setUserData, setWidth, setX, setY, showingProperty, sizeToScene, widthProperty, xProperty, yProperty

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • codeCacheData

      private CodeCacheWalkerResult codeCacheData
    • lowAddress

      private long lowAddress
    • highAddress

      private long highAddress
    • addressRange

      private long addressRange
    • width

      private double width
    • height

      private double height
    • lblNMethodCount

      private javafx.scene.control.Label lblNMethodCount
    • lblLowAddress

      private javafx.scene.control.Label lblLowAddress
    • lblHighAddress

      private javafx.scene.control.Label lblHighAddress
    • lblAddressRange

      private javafx.scene.control.Label lblAddressRange
    • btnAnimate

      private javafx.scene.control.Button btnAnimate
    • checkC1

      private javafx.scene.control.CheckBox checkC1
    • checkC2

      private javafx.scene.control.CheckBox checkC2
    • drawC1

      private boolean drawC1
    • drawC2

      private boolean drawC2
    • txtAnimationSeconds

      private javafx.scene.control.TextField txtAnimationSeconds
    • NOT_LATEST_COMPILATION

      private static final javafx.scene.paint.Color NOT_LATEST_COMPILATION
    • LATEST_COMPILATION

      private static final javafx.scene.paint.Color LATEST_COMPILATION
  • Constructor Details

    • CodeCacheLayoutStage

      public CodeCacheLayoutStage(JITWatchUI parent)
  • Method Details

    • buildControls

      protected javafx.scene.layout.VBox buildControls(javafx.scene.Scene scene)
      Specified by:
      buildControls in class AbstractNMethodStage
    • buildControlButtons

      private javafx.scene.layout.HBox buildControlButtons(javafx.scene.Scene scene)
    • buildControlInfo

      private javafx.scene.layout.HBox buildControlInfo()
    • preDraw

      private boolean preDraw()
    • redraw

      public void redraw()
    • showEvent

      private boolean showEvent(CodeCacheEvent event)
    • plotCompilation

      private void plotCompilation(double x, double y, double w, double h, javafx.scene.paint.Color fillColour, Compilation compilation, boolean clickHandler)
    • animate

      private void animate(double targetSeconds)