Integrated: 8309751: Duplicate constant pool entries added during default method processing

Coleen Phillimore coleenp at openjdk.org
Wed Apr 10 12:41:14 UTC 2024


On Fri, 29 Mar 2024 13:34:01 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

> This uses Ashutosh's patch to avoid adding duplicate constant pool entries during default method processing, with one change to make it conditional if not needed. I tested this locally and started writing a test, but writing a test is more difficult because duplicate constant pool entries don't actually violate the spec.
> 
> Tested with tier1-4 and ran some startup performance benchmarks on the patch.

This pull request has now been integrated.

Changeset: c5150c7b
Author:    Coleen Phillimore <coleenp at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/c5150c7b81e2b7b8c9e13c228d3b7bcb9dfe5024
Stats:     77 lines in 3 files changed: 49 ins; 2 del; 26 mod

8309751: Duplicate constant pool entries added during default method processing

Co-authored-by: Ashutosh Mehra <asmehra at openjdk.org>
Reviewed-by: matsaave, dholmes

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

PR: https://git.openjdk.org/jdk/pull/18548


More information about the hotspot-runtime-dev mailing list