RFR: 8356044: Use Double::hashCode and Long::hashCode in java.vm.ci.meta

Shaojin Wen swen at openjdk.org
Fri Jun 27 03:18:39 UTC 2025


On Thu, 1 May 2025 16:05:15 GMT, Shaojin Wen <swen at openjdk.org> wrote:

> Similar to #24959 and #24971 and #24987, AbstractProfiledItem/PrimitiveConstant in java.vm.ci.meta can also be simplified similarly.
> 
> Replace manual bitwise operations in hashCode implementations of java.vm.ci.meta.AbstractProfiledItem/java.vm.ci.meta.PrimitiveConstant with Long::hashCode/Double.hashCode.

keep alive

-------------

PR Comment: https://git.openjdk.org/jdk/pull/24988#issuecomment-3011263985


More information about the hotspot-compiler-dev mailing list