JDK-8076987 : C1 should support conditional card marks (UseCondCardMark)
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 8,9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-04-05
  • Updated: 2020-08-19
  • Resolved: 2015-04-23
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9 b64Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Sub Tasks
JDK-8169581 :  
Description
Now that there is no "Server VM" that only runs C2, but the tiered VM that runs both C1 and C2, it makes sense to support UseCondCardMark in C1-generated code.
Otherwise, the warm code compiled by C1 can obliterate the conditional card mark check in hot code compiled with C2.
Comments
RFR: http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/2015-April/017686.html
17-04-2015

Proof-of-concept patch: http://cr.openjdk.java.net/~shade/8076987/webrev.00/ Testing: - eyeballing generated assembly with Linux x86_64 microbenchmarks
05-04-2015