RFR: 8314502: GrowableArray: Make find with comparator take template
Afshin Zafari
azafari at openjdk.org
Thu Aug 24 14:17:40 UTC 2023
The `find` method now is
```C++
template<typename T>
int find(T* token, bool f(T*, E)) const {
...
Any other functions which use this are also changed.
Local linux-x64-debug hotspot:tier1 passed. Mach5 tier1 build on linux and Windows passed.
-------------
Commit messages:
- 8314502: GrowableArray: Make find with comparator take template
Changes: https://git.openjdk.org/jdk/pull/15418/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=15418&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8314502
Stats: 10 lines in 4 files changed: 1 ins; 2 del; 7 mod
Patch: https://git.openjdk.org/jdk/pull/15418.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/15418/head:pull/15418
PR: https://git.openjdk.org/jdk/pull/15418
More information about the hotspot-dev
mailing list