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
-
-
Field Summary
Fields Modifier and Type Field Description private longaddressRangeprivate javafx.scene.control.ButtonbtnAnimateprivate javafx.scene.control.CheckBoxcheckC1private javafx.scene.control.CheckBoxcheckC2private CodeCacheWalkerResultcodeCacheDataprivate booleandrawC1private booleandrawC2private doubleheightprivate longhighAddressprivate static javafx.scene.paint.ColorLATEST_COMPILATIONprivate javafx.scene.control.LabellblAddressRangeprivate javafx.scene.control.LabellblHighAddressprivate javafx.scene.control.LabellblLowAddressprivate javafx.scene.control.LabellblNMethodCountprivate longlowAddressprivate static javafx.scene.paint.ColorNOT_LATEST_COMPILATIONprivate javafx.scene.control.TextFieldtxtAnimationSecondsprivate doublewidth-
Fields inherited from class org.adoptopenjdk.jitwatch.ui.nmethod.AbstractNMethodStage
btnZoomIn, btnZoomOut, btnZoomReset, COLOR_OTHER_MEMBER_COMPILATIONS, COLOR_SELECTED_COMPILATION, COLOR_UNSELECTED_COMPILATION, pane, parent, scene, scrollPane, vBoxControls, vBoxStack, zoom
-
-
Constructor Summary
Constructors Constructor Description CodeCacheLayoutStage(JITWatchUI parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidanimate(double targetSeconds)private javafx.scene.layout.HBoxbuildControlButtons(javafx.scene.Scene scene)private javafx.scene.layout.HBoxbuildControlInfo()protected javafx.scene.layout.VBoxbuildControls(javafx.scene.Scene scene)private voidplotCompilation(double x, double y, double w, double h, javafx.scene.paint.Color fillColour, Compilation compilation, boolean clickHandler)private booleanpreDraw()voidredraw()private booleanshowEvent(CodeCacheEvent event)-
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
-
-
-
-
Field Detail
-
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 Detail
-
CodeCacheLayoutStage
public CodeCacheLayoutStage(JITWatchUI parent)
-
-
Method Detail
-
buildControls
protected javafx.scene.layout.VBox buildControls(javafx.scene.Scene scene)
- Specified by:
buildControlsin classAbstractNMethodStage
-
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)
-
-