RFR: 8255757: Javac emits duplicate pool entries on array::clone [v5]

Guoxiong Li github.com+13688759+lgxbslgx at openjdk.java.net
Fri Jan 1 09:40:14 UTC 2021


> 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.

Guoxiong Li has updated the pull request incrementally with one additional commit since the last revision:

  Revise log and copyright.

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/1912/files
  - new: https://git.openjdk.java.net/jdk/pull/1912/files/3ecbe6f2..326b4893

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=1912&range=04
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=1912&range=03-04

  Stats: 4 lines in 2 files changed: 1 ins; 0 del; 3 mod
  Patch: https://git.openjdk.java.net/jdk/pull/1912.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/1912/head:pull/1912

PR: https://git.openjdk.java.net/jdk/pull/1912


More information about the compiler-dev mailing list