Bug 1120792 - Reminder: please remove -fno-devirtualize from OpenJDK8 build flags
Summary: Reminder: please remove -fno-devirtualize from OpenJDK8 build flags
Alias: None
Product: Fedora
Classification: Fedora
Component: java-1.8.0-openjdk
Version: 23
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Omair Majid
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2014-07-17 17:26 UTC by Omair Majid
Modified: 2015-12-31 05:21 UTC (History)
4 users (show)

Fixed In Version: 1:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2015-12-30 22:10:20 UTC

Attachments (Terms of Use)

Description Omair Majid 2014-07-17 17:26:24 UTC
Due to a regression in GCC 4.9, any OpenJDK 8 hotspot built using it was broken [1]. Upstream OpenJDK identified this as being caused by "-fdevirtualize". As a workaround, the "-fno-devirtualize" build flag was added to the java-1.8.0-openjdk spec file. This probably causes a performance regression and should be removed at some point in the future when we are use the regression in GCC 4.9 has been fixed on all architectures that we build on.

This bug is just a reminder that the "-fno-devirtualize" flag should be removed at some point.

[1] http://mail.openjdk.java.net/pipermail/hotspot-dev/2014-April/013602.html

Comment 1 Fedora End Of Life 2015-11-04 15:17:34 UTC
This message is a reminder that Fedora 21 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 21. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '21'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 21 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 2 Fedora End Of Life 2015-12-02 03:16:30 UTC
Fedora 21 changed to end-of-life (EOL) status on 2015-12-01. Fedora 21 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 3 Andrew John Hughes 2015-12-04 23:58:20 UTC
This is still present in f23. Re-opening.

Comment 4 Omair Majid 2015-12-30 22:10:20 UTC
(In reply to Andrew John Hughes from comment #3)
> This is still present in f23. Re-opening.

It was removed in http://pkgs.fedoraproject.org/cgit/java-1.8.0-openjdk.git/commit/?h=f23&id=63a9345099ece333bb3c4c7725f7d19bc47aedd3

Comment 5 Andrew John Hughes 2015-12-31 05:21:15 UTC
Yes, it was my hardening patch that removed it:


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