Class CompilerThreadStage
- java.lang.Object
-
- javafx.stage.Window
-
- javafx.stage.Stage
-
- org.adoptopenjdk.jitwatch.ui.nmethod.AbstractNMethodStage
-
- org.adoptopenjdk.jitwatch.ui.nmethod.compilerthread.CompilerThreadStage
-
- All Implemented Interfaces:
javafx.event.EventTarget,ICompilationChangeListener,IPrevNextCompilationListener,IRedrawable
public class CompilerThreadStage extends AbstractNMethodStage
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classCompilerThreadStage.PlotModeprivate classCompilerThreadStage.QueueCounter
-
Field Summary
Fields Modifier and Type Field Description private javafx.scene.control.CheckBoxcbOnlyFailuresprivate javafx.scene.GroupcontextualControlsprivate intmaxBytecodeSizeprivate intmaxNativeSizeprivate longmaxQueueLengthprivate longmaxTimeprivate longminTimeprivate doublepaneHeightprivate doublepaneLabelWidthprivate doublepanePlotWidthprivate doublepaneWidthprivate CompilerThreadStage.PlotModeplotModeprivate booleanshowOnlyFailedCompilesprivate longtimeRange-
Fields inherited from class org.adoptopenjdk.jitwatch.ui.nmethod.AbstractNMethodStage
btnZoomIn, btnZoomOut, btnZoomReset, COLOR_OTHER_MEMBER_COMPILATIONS, COLOR_SELECTED_COMPILATION, COLOR_UNSELECTED_COMPILATION, height, pane, parent, scene, scrollPane, vBoxControls, vBoxStack, width, zoom
-
-
Constructor Summary
Constructors Constructor Description CompilerThreadStage(JITWatchUI parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private javafx.scene.layout.HBoxbuildControlButtons(javafx.scene.Scene scene)protected javafx.scene.layout.VBoxbuildControls(javafx.scene.Scene scene)private javafx.scene.layout.HBoxbuildModeHBox()private voidfindRanges()private java.lang.StringgetCompilerThreadName(CompilerThread thread)private javafx.scene.layout.HBoxgetContextualControlsQueueLength()private javafx.scene.layout.HBoxgetContextualControlsTimings()private java.util.List<CompilerThreadStage.QueueCounter>getQueueCounters(CompilerThread thread)private doublegetScaledTimestampX(long timestamp)private doublegetXOffset()private voidplotBytecodeSize(Compilation compilation, double y, double rowHeight, javafx.scene.paint.Color fillColour, boolean isCompilationOfSelectedMember)private voidplotExpansions(Compilation compilation, double y, double rowHeight, javafx.scene.paint.Color fillColour, boolean isCompilationOfSelectedMember)private voidplotHorizontalLine(double y)private voidplotNativeSize(Compilation compilation, double y, double rowHeight, javafx.scene.paint.Color fillColour, boolean isCompilationOfSelectedMember)private voidplotQueuedCompileTimes(Compilation compilation, double y, double rowHeight, javafx.scene.paint.Color fillColour, boolean isCompilationOfSelectedMember)private voidplotQueueLengths(CompilerThread thread, double y, double rowHeight)private voidplotThread(CompilerThread thread, double y, double rowHeight)private voidplotThreadHeader(CompilerThread thread, double y, double rowHeight)private voidplotThreadName(java.lang.String name, double y)private booleanpreDraw()voidredraw()-
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
-
maxNativeSize
private int maxNativeSize
-
maxBytecodeSize
private int maxBytecodeSize
-
minTime
private long minTime
-
maxTime
private long maxTime
-
timeRange
private long timeRange
-
maxQueueLength
private long maxQueueLength
-
panePlotWidth
private double panePlotWidth
-
paneLabelWidth
private double paneLabelWidth
-
paneWidth
private double paneWidth
-
paneHeight
private double paneHeight
-
contextualControls
private javafx.scene.Group contextualControls
-
cbOnlyFailures
private javafx.scene.control.CheckBox cbOnlyFailures
-
showOnlyFailedCompiles
private boolean showOnlyFailedCompiles
-
plotMode
private CompilerThreadStage.PlotMode plotMode
-
-
Constructor Detail
-
CompilerThreadStage
public CompilerThreadStage(JITWatchUI parent)
-
-
Method Detail
-
buildControls
protected javafx.scene.layout.VBox buildControls(javafx.scene.Scene scene)
- Specified by:
buildControlsin classAbstractNMethodStage
-
findRanges
private void findRanges()
-
buildControlButtons
private javafx.scene.layout.HBox buildControlButtons(javafx.scene.Scene scene)
-
preDraw
private boolean preDraw()
-
getXOffset
private double getXOffset()
-
redraw
public void redraw()
-
plotThread
private void plotThread(CompilerThread thread, double y, double rowHeight)
-
plotQueueLengths
private void plotQueueLengths(CompilerThread thread, double y, double rowHeight)
-
getQueueCounters
private java.util.List<CompilerThreadStage.QueueCounter> getQueueCounters(CompilerThread thread)
-
plotThreadHeader
private void plotThreadHeader(CompilerThread thread, double y, double rowHeight)
-
getScaledTimestampX
private double getScaledTimestampX(long timestamp)
-
getCompilerThreadName
private java.lang.String getCompilerThreadName(CompilerThread thread)
-
plotHorizontalLine
private void plotHorizontalLine(double y)
-
plotThreadName
private void plotThreadName(java.lang.String name, double y)
-
plotNativeSize
private void plotNativeSize(Compilation compilation, double y, double rowHeight, javafx.scene.paint.Color fillColour, boolean isCompilationOfSelectedMember)
-
plotExpansions
private void plotExpansions(Compilation compilation, double y, double rowHeight, javafx.scene.paint.Color fillColour, boolean isCompilationOfSelectedMember)
-
plotBytecodeSize
private void plotBytecodeSize(Compilation compilation, double y, double rowHeight, javafx.scene.paint.Color fillColour, boolean isCompilationOfSelectedMember)
-
plotQueuedCompileTimes
private void plotQueuedCompileTimes(Compilation compilation, double y, double rowHeight, javafx.scene.paint.Color fillColour, boolean isCompilationOfSelectedMember)
-
getContextualControlsTimings
private javafx.scene.layout.HBox getContextualControlsTimings()
-
getContextualControlsQueueLength
private javafx.scene.layout.HBox getContextualControlsQueueLength()
-
buildModeHBox
private javafx.scene.layout.HBox buildModeHBox()
-
-