You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Michael Moser (JIRA)" <ji...@apache.org> on 2017/03/24 20:59:41 UTC

[jira] [Commented] (NIFI-3304) In the Administration Guide, there is an incorrect JAVA 8 parameter for bootstrap.conf file

    [ https://issues.apache.org/jira/browse/NIFI-3304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15941121#comment-15941121 ] 

Michael Moser commented on NIFI-3304:
-------------------------------------

According to Oracle's Java 8 documentation \[1\] the defaults are currently

-XX:ReservedCodeCacheSize=240m
-XX:+UseCodeCacheFlushing

These seem to already align with our Admin Guide recommendations, so I think we can remove this section of the Admin Guide.

With Java 7, the default ReservedCodeCacheSize was 48m and codecache flushing was buggy \[2\] so our older Admin Guide recommendations made more sense.

\[1\] - http://docs.oracle.com/javase/8/docs/technotes/tools/windows/java.html
\[2\] - https://blogs.oracle.com/poonam/entry/why_do_i_get_message


> In the Administration Guide, there is an incorrect JAVA 8 parameter for bootstrap.conf file
> -------------------------------------------------------------------------------------------
>
>                 Key: NIFI-3304
>                 URL: https://issues.apache.org/jira/browse/NIFI-3304
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Documentation & Website
>            Reporter: David A. Wynne
>            Assignee: Michael Moser
>            Priority: Minor
>
> In the Administration guide, section Bootstrap properties, there is a paragraph about Java 8 handling of codecache, the listed properties are accurate for Java version 7, but for Java version 8, one has changed
> This is correct for Java version 7:
> java.arg.8=-XX:CodeCacheFlushingMinimumFreeSpace=10m
> But for Java version 8, it should be
> java.arg.8=-XX:CodeCacheMinimumFreeSpace=10m



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)