[ 
https://issues.apache.org/jira/browse/IGNITE-24939?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrey Mashenkov updated IGNITE-24939:
--------------------------------------
    Description: 
Ignite 2 requires Java 11 or later version to start.
Since Java 9, some JVM options were deprecated and then removed [1], but we 
still use them in our documentation [2].

Let's fix documentation and replace outdated JVM options with new ones using 
the guide [3]

{code:java}
Old: -XX:+PrintGCDetails
New: -Xlog:gc*

Old: -Xloggc:<filename>
New: -Xlog:gc:<filename>
{code}

Unsupported options:
-XX:+PrintGCTimeStamps
-XX:+PrintGCDateStamps
-XX:+UseGCLogFileRotation
-XX:NumberOfGCLogFiles=10
-XX:GCLogFileSize=100M


[1] https://bugs.openjdk.org/browse/JDK-8145180
[2] 
https://ignite.apache.org/docs/latest/perf-and-troubleshooting/troubleshooting#detailed-gc-logs
[3] 
https://docs.oracle.com/javase/9/tools/java.htm#GUID-BE93ABDC-999C-4CB5-A88B-1994AAAC74D5__CONVERTGCLOGGINGFLAGSTOXLOG-A5046BD1

  was:
Ignite 2 requires Java 11 or later version to start.
Since Java 9, some JVM options were deprecated and then removed [1], but we 
still use them in our documentation [2].

Let's fix documentation and replace outdated JVM options with new ones using 
the guide [3]

{code:java}
Old: -XX:+PrintGCDetails
New: -Xlog:gc*

Old: -Xloggc:<filename>
New: -Xlog:gc:<filename>

Old: -XX:+PrintGCTimeStamps
New: Not Applicable. Time stamps are logged by the framework.

Old: -XX:+PrintGCDateStamps
New: Not Applicable. Date stamps are logged by the framework.
{code}


[1] https://bugs.openjdk.org/browse/JDK-8145180
[2] 
https://ignite.apache.org/docs/latest/perf-and-troubleshooting/troubleshooting#detailed-gc-logs
[3] 
https://docs.oracle.com/javase/9/tools/java.htm#GUID-BE93ABDC-999C-4CB5-A88B-1994AAAC74D5__CONVERTGCLOGGINGFLAGSTOXLOG-A5046BD1


> Improve troubleshooting documentation section.
> ----------------------------------------------
>
>                 Key: IGNITE-24939
>                 URL: https://issues.apache.org/jira/browse/IGNITE-24939
>             Project: Ignite
>          Issue Type: Improvement
>          Components: documentation
>            Reporter: Andrey Mashenkov
>            Priority: Major
>              Labels: ignite-2
>
> Ignite 2 requires Java 11 or later version to start.
> Since Java 9, some JVM options were deprecated and then removed [1], but we 
> still use them in our documentation [2].
> Let's fix documentation and replace outdated JVM options with new ones using 
> the guide [3]
> {code:java}
> Old: -XX:+PrintGCDetails
> New: -Xlog:gc*
> Old: -Xloggc:<filename>
> New: -Xlog:gc:<filename>
> {code}
> Unsupported options:
> -XX:+PrintGCTimeStamps
> -XX:+PrintGCDateStamps
> -XX:+UseGCLogFileRotation
> -XX:NumberOfGCLogFiles=10
> -XX:GCLogFileSize=100M
> [1] https://bugs.openjdk.org/browse/JDK-8145180
> [2] 
> https://ignite.apache.org/docs/latest/perf-and-troubleshooting/troubleshooting#detailed-gc-logs
> [3] 
> https://docs.oracle.com/javase/9/tools/java.htm#GUID-BE93ABDC-999C-4CB5-A88B-1994AAAC74D5__CONVERTGCLOGGINGFLAGSTOXLOG-A5046BD1



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to