Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8264795: IGV: Upgrade NetBeans platform #3361

Closed
wants to merge 48 commits into from
Closed
Changes from 3 commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
580c4c9
Add initial Maven application (start from RELEASE90)
robcasloz Mar 9, 2021
14e6b77
Add initial modules (Data and Settings)
robcasloz Mar 10, 2021
782f699
Use same group id across all modules
robcasloz Mar 11, 2021
c2c75f5
Add Util module
robcasloz Mar 11, 2021
7fe13da
Add Layout module
robcasloz Mar 11, 2021
a05278c
Add Difference module
robcasloz Mar 11, 2021
87366f2
Add NetworkConnection module
robcasloz Mar 11, 2021
eee9979
Add Coordinator module
robcasloz Mar 11, 2021
03e76db
Add SelectionCoordinator module
robcasloz Mar 11, 2021
20e0733
Add Graph module
robcasloz Mar 11, 2021
e1604b9
Add HierarchicalLayout module
robcasloz Mar 11, 2021
88a4818
Add ControlFlow module
robcasloz Mar 11, 2021
b8918a5
Add Filter module
robcasloz Mar 12, 2021
7b4dac0
Add Bytecodes module
robcasloz Mar 12, 2021
d75ebaa
Add ServerCompiler module
robcasloz Apr 1, 2021
03ba1f2
Add FilterWindow module
robcasloz Mar 12, 2021
0446617
Add Graal module
robcasloz Mar 12, 2021
a2499ee
Add BatikSVGProxy and View modules
robcasloz Mar 12, 2021
992d75d
Add missing resource to Data module
robcasloz Mar 12, 2021
1d6a8a4
Add missing resources to Bytecodes module
robcasloz Mar 12, 2021
d37641a
Update Settings manifest EOL format for consistency
robcasloz Mar 12, 2021
036911a
Move declaration of public packages to each module, for consistency w…
robcasloz Mar 12, 2021
f43d3d1
Declare key service providers with annotations
robcasloz Mar 12, 2021
4119dcc
Update directory structure of branding module
robcasloz Mar 12, 2021
46f75f7
Define NetBeans version only once
robcasloz Apr 1, 2021
ecdab04
Use project version property when possible
robcasloz Mar 15, 2021
4c589fb
Use consistent version of Swing Layout Extensions
robcasloz Mar 15, 2021
fd8d631
Use single definition of Maven plugin versions
robcasloz Mar 15, 2021
316f29f
Upgrade to NetBeans platform 10.0
robcasloz Mar 15, 2021
3c240e9
Upgrade to NetBeans platform 12.3
robcasloz Mar 15, 2021
8bde221
Depend on standalone Nashorn from JDK 15 on
robcasloz Mar 15, 2021
51e0904
Resolve all temporary symbolic links
robcasloz Mar 15, 2021
3ada030
Remove redundant resources
robcasloz Mar 15, 2021
76e61b5
Remove ant project files and update README
robcasloz Mar 15, 2021
f3912fd
Remove service declaration files
robcasloz Mar 15, 2021
c6fd610
Remove unnecessary comments
robcasloz Mar 15, 2021
b18980f
Add copyright headers to Maven files
robcasloz Mar 15, 2021
4b62b77
Convert all files to UNIX format
robcasloz Mar 15, 2021
b210966
Indent all XML files consistently
robcasloz Mar 15, 2021
0a1c613
Update copyright years of touched files
robcasloz Mar 15, 2021
567ea43
Configure Maven to run Data unit tests
robcasloz Mar 16, 2021
098f405
Fix test errors
robcasloz Mar 16, 2021
a6471d8
Turn off schema validation, since the main input files are not specif…
robcasloz Mar 16, 2021
80475e1
Remove template integration test
robcasloz Mar 16, 2021
11fb43f
Update TemplatesAction name in layer file
robcasloz Mar 16, 2021
e50ccd9
Document latest JDK version supported
robcasloz Apr 7, 2021
ea19b4d
Use lambdas to define runnables
robcasloz Apr 7, 2021
e84d171
Document how to build and run on a specific JDK
robcasloz Apr 7, 2021
File filter
Filter file types
Jump to
Jump to file
Failed to load files.

Always

Just for now

@@ -146,12 +146,7 @@ protected Group start() throws SAXException {

final Folder parent = getParentObject();
if (groupCallback == null || parent instanceof Group) {
Runnable addToParent = new Runnable(){
@Override
public void run() {
parent.addElement(group);
}
};
Runnable addToParent = () -> parent.addElement(group);
if (invokeLater) {
SwingUtilities.invokeLater(addToParent);
} else {
@@ -286,12 +281,7 @@ protected void end(String text) throws SAXException {
}
blockConnections.clear();

Runnable addToParent = new Runnable(){
@Override
public void run() {
parent.addElement(graph);
}
};
Runnable addToParent = () -> parent.addElement(graph);
if (invokeLater) {
SwingUtilities.invokeLater(addToParent);
} else {
@@ -457,12 +447,7 @@ protected InputEdge start(InputEdge conn) throws SAXException {
public void end(String text) throws SAXException {
if (groupCallback != null && getParentObject().getParent() instanceof GraphDocument) {
final Group group = getParentObject();
Runnable addStarted = (new Runnable() {
@Override
public void run() {
groupCallback.started(group);
}
});
Runnable addStarted = () -> groupCallback.started(group);
if (invokeLater) {
SwingUtilities.invokeLater(addStarted);
} else {
@@ -7,14 +7,19 @@ included as part of HotSpot since that was the primary target of the tool. The
tool itself is fairly general with only a few modules that contain C2 specific
elements.

The tool is built on top of the NetBeans Platform, and requires Java 8 or later.
The tool is built on top of the NetBeans Platform, and requires a JDK version
between 8 and 15 (the latest JDK supported by the current NetBeans Platform).

# Building and Running

The build system used for IGV is Maven. To download all required libraries and
build IGV, issue `mvn install`. To run IGV, use the `igv.sh` command; it will
put all log messages generated by the run to the file `.igv.log`.

To build and run IGV on a different JDK than the system default, set first the
`JAVA_HOME` to the appropriate directory. The same JDK version should be used
for building and running IGV.

# Usage

The JVM support is controlled by the flag `-XX:PrintIdealGraphLevel=#` where `#`
ProTip! Use n and p to navigate between commits in a pull request.