You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Richard Sands (Jira)" <ji...@apache.org> on 2019/10/26 01:41:00 UTC

[jira] [Updated] (KARAF-6480) Permgen JVM options still being used on Windows

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

Richard Sands updated KARAF-6480:
---------------------------------
    Description: 
The -XX:PermSize and -XX:MaxPermSize options are still being set in karaf.bat, but they are deprecated in Java 8+ and ignored in Java 11+.

The equivalent parameters were handled for Linux in KARAF-3945.

These JVM parameters are deprecated starting in Java 8 but are "still accepted and acted upon" through Java 10:

[https://docs.oracle.com/javase/8/docs/technotes/tools/windows/java.html]

[https://docs.oracle.com/javase/10/tools/java.htm]

Starting in Java 11, these options are "accepted but ignored":

[https://docs.oracle.com/en/java/javase/11/tools/java.html]

And they are still accepted through the latest: Java 13.

These options would ideally (for me) be replaced with the equivalent Metaspace parameters -XX:MetaspaceSize and -XX:MaxMetaspaceSize. More info:

[https://blogs.oracle.com/poonam/about-g1-garbage-collector,-permanent-generation-and-metaspace]

  was:
The -XX:PermSize and -XX:MaxPermSize options are still being set in karaf.bat, but they are deprecated in Java 8+ and ignored in Java 11+.

The equivalent parameters were handled for Linux in KARAF-3945.

These JVM parameters are deprecated starting in Java 8 but are "still accepted and acted upon" through Java 10:

[https://docs.oracle.com/javase/8/docs/technotes/tools/windows/java.html]

[https://docs.oracle.com/javase/10/tools/java.htm]

Starting in Java 11, these options are "accepted but ignored":

[https://docs.oracle.com/en/java/javase/11/tools/java.html]

And they are still accepted through the latest: Java 13.

These options would ideally be removed or replaced with the equivalent Metaspace parameters -XX:MetaspaceSize and -XX:MaxMetaspaceSize. More info:

[https://blogs.oracle.com/poonam/about-g1-garbage-collector,-permanent-generation-and-metaspace]


> Permgen JVM options still being used on Windows
> -----------------------------------------------
>
>                 Key: KARAF-6480
>                 URL: https://issues.apache.org/jira/browse/KARAF-6480
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 4.2.8
>            Reporter: Richard Sands
>            Priority: Minor
>
> The -XX:PermSize and -XX:MaxPermSize options are still being set in karaf.bat, but they are deprecated in Java 8+ and ignored in Java 11+.
> The equivalent parameters were handled for Linux in KARAF-3945.
> These JVM parameters are deprecated starting in Java 8 but are "still accepted and acted upon" through Java 10:
> [https://docs.oracle.com/javase/8/docs/technotes/tools/windows/java.html]
> [https://docs.oracle.com/javase/10/tools/java.htm]
> Starting in Java 11, these options are "accepted but ignored":
> [https://docs.oracle.com/en/java/javase/11/tools/java.html]
> And they are still accepted through the latest: Java 13.
> These options would ideally (for me) be replaced with the equivalent Metaspace parameters -XX:MetaspaceSize and -XX:MaxMetaspaceSize. More info:
> [https://blogs.oracle.com/poonam/about-g1-garbage-collector,-permanent-generation-and-metaspace]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)