> We can reduce overhead of first use of a switch bootstrap by moving 
> `typePairToName` into `TypePairs` and by explicitly overriding `hashCode` and 
> `equals`. The first change avoids loading and initializing the `TypePairs` 
> class in actual cases, the second remove some excess code generation from 
> happening on first use.

Claes Redestad has updated the pull request incrementally with one additional 
commit since the last revision:

  Revert changes, splitting these out to a separate PR

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/18865/files
  - new: https://git.openjdk.org/jdk/pull/18865/files/b6d29f2a..6226f1b1

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=18865&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=18865&range=01-02

  Stats: 6 lines in 1 file changed: 5 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/18865.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18865/head:pull/18865

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

Reply via email to