Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed missing bytecode annotations on OSR-highlighted region
- Loading branch information
1 parent
95123ae
commit 7a8a992
Showing
8 changed files
with
153 additions
and
104 deletions.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
ui/src/main/java/org/adoptopenjdk/jitwatch/ui/triview/InstructionLabel.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/* | ||
* Copyright (c) 2017 Chris Newland. | ||
* Licensed under https://github.com/AdoptOpenJDK/jitwatch/blob/master/LICENSE-BSD | ||
* Instructions: https://github.com/AdoptOpenJDK/jitwatch/wiki | ||
*/ | ||
package org.adoptopenjdk.jitwatch.ui.triview; | ||
|
||
import javafx.scene.control.Label; | ||
|
||
public class InstructionLabel extends Label | ||
{ | ||
private String unhighlightedStyle = Viewer.STYLE_UNHIGHLIGHTED; | ||
|
||
public InstructionLabel(String text) | ||
{ | ||
super(text); | ||
} | ||
|
||
public void setUnhighlightedStyle(String style) | ||
{ | ||
unhighlightedStyle = style; | ||
|
||
setStyle(unhighlightedStyle); | ||
} | ||
|
||
public String getUnhighlightedStyle() | ||
{ | ||
return unhighlightedStyle; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 5 additions & 18 deletions
23
ui/src/main/java/org/adoptopenjdk/jitwatch/ui/triview/bytecode/BytecodeLabel.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.