You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: SECURITY.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,12 @@
1
1
# Reporting Security Vulnerabilities
2
2
3
-
The GraalVM team values the independent security research community and believes that responsible disclosure of security vulnerabilities in GraalVM Community Edition as well as GraalVM Enterprise Edition helps us ensure the security and privacy of all our users.
3
+
The GraalVM team values the independent security research community and believes that responsible disclosure of security vulnerabilities in GraalVM helps us ensure the security and privacy of all our users.
4
4
5
5
If you believe you have found a security vulnerability, please submit a report to [email protected] preferably with a proof of concept. Please refer to [Reporting Vulnerabilities](https://www.oracle.com/corporate/security-practices/assurance/vulnerability/reporting.html) for additional information including our public encryption key for secure email. We ask that you do not contact project contributors directly or through other channels about a report.
6
6
7
7
### Security Updates, Alerts and Bulletins
8
8
9
-
GraalVM Community Edition security updates will be released on a quarterly basis in conjunction withe GraalVM Enterprise Edition security updates that are part of the Oracle Critical Patch Update program. Security updates are released on the Tuesday closest to the 17th day of January, April, July and October. A pre-release announcement will be published on the Thursday preceding each Critical Patch Update release. For additional information including past advisories, please refer to [Security Alerts](https://www.oracle.com/security-alerts/).
9
+
GraalVM Community Edition security updates will be released on a quarterly basis in conjunction with the Oracle GraalVM security updates that are part of the Oracle Critical Patch Update program. Security updates are released on the Tuesday closest to the 17th day of January, April, July and October. A pre-release announcement will be published on the Thursday preceding each Critical Patch Update release. For additional information including past advisories, please refer to [Security Alerts](https://www.oracle.com/security-alerts/).
Copy file name to clipboardExpand all lines: docs/graalvm-as-a-platform/implement-language.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -78,10 +78,9 @@ To see assembly code for the compiled functions, run:
78
78
79
79
## Dump Graphs
80
80
81
-
To investigate performance issues, we recommend the [Ideal Graph Visualizer (IGV)](../tools/ideal-graph-visualizer.md) -- an essential tool for any language implementer building on
82
-
top of **Oracle GraalVM Enterprise Edition**.
83
-
It is available as a separate download on the [Oracle Technology Network Downloads](https://www.oracle.com/downloads/graalvm-downloads.html) page.
81
+
To investigate performance issues, we recommend the [Ideal Graph Visualizer (IGV)](../tools/ideal-graph-visualizer.md) -- an essential tool for any language implementer building on top of GraalVM.
84
82
83
+
It is available as a separate download on the [Oracle Technology Network Downloads](https://www.oracle.com/downloads/graalvm-downloads.html) page.
85
84
86
85
1. Unzip the downloaded package, enter the `bin` directory and start IGV:
87
86
```shell
@@ -99,6 +98,7 @@ To start debugging the SimpleLanguage implementation with a Java debugger, pass
99
98
```shell
100
99
./sl -debug language/tests/HelloWorld.sl
101
100
```
101
+
102
102
Then attach a Java remote debugger (like Eclipse) on port 8000.
Copy file name to clipboardExpand all lines: docs/introduction.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,8 +52,8 @@ It is a complete Java VM that includes all core components, implements the same
52
52
53
53
## Available Distributions
54
54
55
-
GraalVM is available as **GraalVM Enterprise** and **GraalVM Community** editions and includes support for Java 11 and Java 17.
56
-
GraalVM Enterprise is based on Oracle JDK while GraalVM Community is based on OpenJDK.
55
+
GraalVM is available as **Oracle GraalVM** and **GraalVM Community Edition**.
56
+
Oracle GraalVM is based on Oracle JDK while GraalVM Community Edition is based on OpenJDK.
57
57
58
58
GraalVM is available for Linux and macOS on x86 64-bit and AArch64 systems, and for Windows on x86 64-bit architecture.
59
59
Depending on the platform, the distributions are shipped as *.tar.gz* or *.zip* archives.
@@ -94,7 +94,7 @@ Runtimes:
94
94
95
95
GraalVM Community Edition is open source software built from the sources available on [GitHub](https://github.com/oracle/graal) and distributed under [version 2 of the GNU General Public License with the “Classpath” Exception](https://github.com/oracle/graal/blob/master/LICENSE), which are the same terms as for Java.
96
96
Check the [licenses](https://github.com/oracle/graal#license) of individual GraalVM components which are generally derivative of the license of a particular language and may differ.
97
-
GraalVM Community is free to use for any purpose and comes with no strings attached, but also no guarantees or support.
97
+
GraalVM Community Edition is free to use for any purpose and comes with no strings attached, but also no guarantees or support.
Copy file name to clipboardExpand all lines: docs/reference-manual/embedding/embed-languages.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,7 @@ You can use the tabs beneath each code example to choose between JavaScript, R,
29
29
Ensure you set up GraalVM before you begin.
30
30
31
31
## Compile and Run a Polyglot Application
32
+
32
33
GraalVM can run polyglot applications written in any language implemented with the [Truffle language implementation framework](../../../truffle/docs/README.md).
33
34
These languages are henceforth referenced as **guest languages**.
GraalVM Enterprise provides the experimental Sandbox Resource Limits feature that allows for the limiting of resources used by guest applications.
11
-
These resource limits are not available in the Community Edition of GraalVM.
10
+
Oracle GraalVM provides the Sandbox Resource Limits feature that allows for the limiting of resources used by guest applications.
11
+
These resource limits are not available in GraalVM Community Edition.
12
12
The following document describes how to configure sandbox resource limits using options in GraalVM Polyglot API.
13
13
14
14
In general all resource limit options are prefixed with `sandbox` option group and they can be listed using the help of any language launcher provided in GraalVM, e.g., `js --help:tools`.
Copy file name to clipboardExpand all lines: docs/reference-manual/java-on-truffle/README.md
-10Lines changed: 0 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,22 +28,12 @@ Java on Truffle is an experimental technology in GraalVM, but already passes the
28
28
29
29
## Install Java on Truffle
30
30
31
-
To run Java on Truffle, you need to have [GraalVM installed](../../getting-started/graalvm-community/get-started-graalvm-community.md).
32
31
The Java on Truffle runtime is not available by default, but can be easily added to GraalVM using the [GraalVM Updater tool](../graalvm-updater.md).
33
-
34
-
For GraalVM Community Edition users, run the following command to install Java on Truffle from the GitHub catalog:
35
32
```shell
36
33
gu install espresso
37
34
```
38
35
39
36
The installable's name, `espresso`, is the project code-name, it is used to avoid ambiguity with the other ways Java code can run on GraalVM.
40
-
41
-
For GraalVM Enterprise Edition users, download Java on Truffle from [Oracle GraalVM Downloads](https://www.oracle.com/downloads/graalvm-downloads.html).
42
-
Having downloaded the appropriate JAR file in consideration of the operating system and underlying Java SE version, install it with:
43
-
```shell
44
-
gu install -L espresso.jar
45
-
```
46
-
47
37
It installs the `jvm` runtime library under the `$JAVA_HOME/lib/truffle/` location.
Copy file name to clipboardExpand all lines: docs/reference-manual/java/Operations.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ That is, it is first interpreted before its hot methods are compiled.
14
14
This can translate into slightly longer times until the application reaches peak performance when compared to the native compilers in the JVM such as C1 and C2.
15
15
16
16
To address the issue of taking longer to reach to peak performance, **libgraal** was introduced -- a shared library, produced using [Native Image](../native-image/README.md) to ahead-of-time compile the compiler itself.
17
-
That means the GraalVM Enterprise compiler is deployed as a native shared library.
17
+
That means the Oracle GraalVM compiler is deployed as a native shared library.
18
18
19
19
In this mode, the compiler uses memory separate from the HotSpot heap, and it runs compiled from the start.
20
20
Therefore it has execution properties similar to other native HotSpot compilers such as C1 and C2.
@@ -23,7 +23,7 @@ It can be disabled with `-XX:-UseJVMCINativeLibrary`.
23
23
24
24
## Measuring Performance
25
25
26
-
The first thing to be sure of when measuring performance is to ensure the JVM is using the GraalVM Enterprise compiler.
26
+
The first thing to be sure of when measuring performance is to ensure the JVM is using the Oracle GraalVM compiler.
27
27
In the GraalVM binary, the JVM is configured to use the Graal compiler as the top tier compiler by default.
28
28
You can confirm this by adding `-Dgraal.ShowConfiguration=info` to the command line.
29
29
It will produce a line of output similar to the one below when the compiler is initialized:
Copy file name to clipboardExpand all lines: docs/reference-manual/java/Options.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ configuration with the highest auto-selection priority is used. To see the set
20
20
of available configurations, supply the value help to this option.
21
21
22
22
The current configurations and their semantics are:
23
-
* `enterprise`: To produce highly optimized code with a possible trade-off to compilation time. <a href="https://www.oracle.com/downloads/graalvm-downloads.html" class="enterprise">[GraalVM Enterprise]</a>
23
+
* `enterprise`: To produce highly optimized code with a possible trade-off to compilation time. <a href="https://www.oracle.com/downloads/graalvm-downloads.html" class="enterprise">[Oracle GraalVM]</a>
24
24
* `community`: To produce reasonably optimized code with a faster compilation time.
25
25
* `economy`: To compile as fast as possible with less optimal throughput of the generated code.
26
26
@@ -50,17 +50,17 @@ of available configurations, supply the value help to this option.
50
50
### Performance Tuning Options
51
51
52
52
*`-Dgraal.UsePriorityInlining=true`: This can be used to disable use of the advanced inlining
53
-
algorithm that favours throughput over compilation speed. <ahref="https://www.oracle.com/downloads/graalvm-downloads.html"class="enterprise">[GraalVM Enterprise]</a>
53
+
algorithm that favours throughput over compilation speed. <ahref="https://www.oracle.com/downloads/graalvm-downloads.html"class="enterprise">[Oracle GraalVM]</a>
54
54
*`-Dgraal.Vectorization=true`: This can be used to disable the auto vectorization optimization.
*`-Dgraal.OptDuplication=true`: This can be used to disable the [path duplication optimization](http://ssw.jku.at/General/Staff/Leopoldseder/DBDS_CGO18_Preprint.pdf). <ahref="https://www.oracle.com/downloads/graalvm-downloads.html"class="enterprise">[GraalVM Enterprise]</a>
*`-Dgraal.OptDuplication=true`: This can be used to disable the [path duplication optimization](http://ssw.jku.at/General/Staff/Leopoldseder/DBDS_CGO18_Preprint.pdf). <ahref="https://www.oracle.com/downloads/graalvm-downloads.html"class="enterprise">[Oracle GraalVM]</a>
57
57
*`-Dgraal.TuneInlinerExploration=0`: This can be used to try tune for better peak performance or faster warmup.
58
58
It automatically adjusts values governing the effort spent during inlining. The value of the option is
59
59
a float clamped between `-1` and `1` inclusive. Anything below
60
60
`0` reduces inlining effort and anything above `0` increases
61
61
inlining effort. In general, peak performance is improved with more inlining effort
62
62
while less inlining effort improves warmup (albeit to a lower peak). Note that this
63
-
option is only a heuristic and the optimal value can differ from application to application. <ahref="https://www.oracle.com/downloads/graalvm-downloads.html"class="enterprise">[GraalVM Enterprise]</a>
63
+
option is only a heuristic and the optimal value can differ from application to application. <ahref="https://www.oracle.com/downloads/graalvm-downloads.html"class="enterprise">[Oracle GraalVM]</a>
64
64
*`-Dgraal.TraceInlining=false`: Enables tracing of inlining decisions. This can be used
65
65
for advanced tuning where it may be possible to change the source code of the program.
0 commit comments