Red Hat Bugzilla – Bug 998913
standalone.bat still sets -XX:+TieredCompilation JVM option
Last modified: 2015-10-21 09:00:41 EDT
https://issues.jboss.org/browse/WFLY-1906 fixes an issue in the standalone.bat file to remove the -XX:+TieredCompilation JVM option. This option was removed from standalone.sh long time back since it was considered to be a performance problem https://issues.jboss.org/browse/AS7-4547. It however, stayed around in the standalone.bat as an oversight. Some users have noticed that this is causing problems in real environments https://community.jboss.org/message/833173#833173 when using EAP 6.1.
Per http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8008938, some JDK releases may even have tiered compilation enabled by default. We don't want a JDK default setting to lead to those performance issues either so setting -XX:-TieredCompilation instead in the .bat and .sh scripts to override any potential JDK level defaults may be the best option.
Verified on 6.2.0.ER1
Assigning email@example.com EJB issues to firstname.lastname@example.org. Please re-assign to Cheng or others as needed.
Release notes text added, to be published in the JBoss EAP 6.2.0 Release Notes document.
I think this problem should be reported to Oracle, because it's a serious bug of their JVM.
(In reply to Carlo Marchiori from comment #16)
> I think this problem should be reported to Oracle, because it's a serious
> bug of their JVM.
Already was. http://bugs.java.com/view_bug.do?bug_id=7159766