Bug 998913 - standalone.bat still sets -XX:+TieredCompilation JVM option
Summary: standalone.bat still sets -XX:+TieredCompilation JVM option
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Scripts and Commands
Version: 6.1.0
Hardware: Unspecified
OS: Windows
Target Milestone: ER1
: EAP 6.2.0
Assignee: David M. Lloyd
QA Contact: Petr Kremensky
Russell Dickenson
Depends On:
TreeView+ depends on / blocked
Reported: 2013-08-20 10:45 UTC by Jaikiran Pai
Modified: 2018-12-03 19:41 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
An issue has been resolved in the `standalone.bat` batch file, used on Microsoft Windows Server. The batch file previously contained a JVM option which set tiered compilation: `-XX:+TieredCompilation`. This setting has been removed as it is known to cause performance problems in some circumstances.
Clone Of:
Last Closed: 2013-12-15 16:16:56 UTC
Type: Bug

Attachments (Terms of Use)

Description Jaikiran Pai 2013-08-20 10:45:16 UTC
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.

Comment 5 Aaron Ogburn 2013-08-21 18:46:44 UTC
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.

Comment 7 Petr Kremensky 2013-09-18 06:21:52 UTC
Verified on 6.2.0.ER1

Comment 13 Dimitris Andreadis 2013-10-24 18:27:55 UTC
Assigning jpai@redhat.com EJB issues to david.lloyd@redhat.com. Please re-assign to Cheng or others as needed.

Comment 14 Russell Dickenson 2013-11-21 02:25:55 UTC
Release notes text added, to be published in the JBoss EAP 6.2.0 Release Notes document.

Comment 16 Carlo Marchiori 2015-10-21 07:35:34 UTC
I think this problem should be reported to Oracle, because it's a serious bug of their JVM.

Comment 17 Aaron Ogburn 2015-10-21 13:00:41 UTC
(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

Note You need to log in before you can comment on or make changes to this bug.