Integrated: 8255757: Javac emits duplicate pool entries on array::clone
Guoxiong Li
github.com+13688759+lgxbslgx at openjdk.java.net
Tue Jan 5 22:23:57 UTC 2021
On Wed, 30 Dec 2020 17:55:48 GMT, Guoxiong Li <github.com+13688759+lgxbslgx at openjdk.org> wrote:
> Hi all,
>
> Currently, javac would emit duplicate pool entries when compiling array::clone.
> This patch fixes it by using a cached field `Map<Type, Symbol> qualifiedSymbolCache;` and adds a corresponding test case.
>
> Thank you for taking the time to review.
>
> Best Regards.
This pull request has now been integrated.
Changeset: 7d769663
Author: Guoxiong Li <lgxbslgx at gmail.com>
Committer: Vicente Romero <vromero at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/7d769663
Stats: 120 lines in 2 files changed: 117 ins; 0 del; 3 mod
8255757: Javac emits duplicate pool entries on array::clone
Reviewed-by: vromero
-------------
PR: https://git.openjdk.java.net/jdk/pull/1912
More information about the compiler-dev
mailing list