[
https://issues.apache.org/jira/browse/NIFI-3304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15941121#comment-15941121
]
Michael Moser edited comment on NIFI-3304 at 3/24/17 9:02 PM:
--------------------------------------------------------------
According to Oracle's Java 8 documentation \[1\] the defaults are currently
-XX:ReservedCodeCacheSize=240m
-XX:+UseCodeCacheFlushing
Since NiFi 1.x requires Java 8, and these defaults already align with our Admin
Guide recommendations, I think we can remove this section of the Admin Guide.
Also, these settings have already been removed from the bootstrap.conf.
With Java 7, the default ReservedCodeCacheSize was 48m and codecache flushing
was buggy \[2\] so our older Admin Guide recommendations made more sense in the
NiFi 0.x days.
\[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
was (Author: mosermw):
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)