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.

To download the current JDK release, click here.
JDK 23
23 masterFixed
Related Reports
Relates :  
Description
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()`.
Comments
Changeset: 6bc6392d Author: Christian Hagedorn <chagedorn@openjdk.org> Date: 2024-04-05 06:56:54 +0000 URL: https://git.openjdk.org/jdk/commit/6bc6392d2b073434d2cfac4c5f6f2908bd8fe77e
05-04-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/18620 Date: 2024-04-04 11:09:07 +0000
04-04-2024