RFR: 8314502: Change the comparator taking version of GrowableArray::find to be a template method [v8]
    Afshin Zafari 
    azafari at openjdk.org
       
    Tue Nov  7 11:40:02 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.
Afshin Zafari has updated the pull request incrementally with one additional commit since the last revision:
  function pointer is replaced with template Functor.
-------------
Changes:
  - all: https://git.openjdk.org/jdk/pull/15418/files
  - new: https://git.openjdk.org/jdk/pull/15418/files/6d9288e7..7665b878
Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=15418&range=07
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=15418&range=06-07
  Stats: 4 lines in 1 file changed: 0 ins; 0 del; 4 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 serviceability-dev
mailing list