JDK-8329201 : C2: Replace TypeInterfaces::intersection_with() + eq() with contains()
Type:Enhancement
Component:hotspot
Sub-Component:compiler
Affected Version:23
Priority:P4
Status:Resolved
Resolution:Fixed
Submitted:2024-03-27
Updated:2024-04-05
Resolved:2024-04-05
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.
This came up here:
https://github.com/openjdk/jdk/pull/18512/files#r1541245665
There are a few places using `intersection_with() + eq()` which could be replaced by `contains()`.