dongjoon-hyun edited a comment on issue #25836: [SPARK-29159][BUILD] Increase 
ReservedCodeCacheSize to 1G
URL: https://github.com/apache/spark/pull/25836#issuecomment-532970077
 
 
   @srowen . I took a look. `UseCodeCacheFlushing` was introduced at JDK6 by 
default `false`, but was changed at JDK7 by default `true`. We are already 
`true`. I checked with the following.
   ```
   $ java -XX:+PrintFlagsFinal -version | grep UseCodeCacheFlushing
        bool UseCodeCacheFlushing                      = true                   
             {product}
   openjdk version "1.8.0_222"
   OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_222-b10)
   OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.222-b10, mixed mode)
   ```
   
   Oracle Website is also inconsistent.
   - 
https://docs.oracle.com/javase/8/embedded/develop-apps-platforms/codecache.htm
   
   1. In the table, the default value is `false`.
   2. In the sentence, the default value is `true`.
   > The UseCodeCacheFlushing option turns codecache flushing on and off. By 
default it is on. You can disable this feature by specifying 
XX:-UseCodeCacheFlushing. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to