On Wed, 31 Jan 2024 21:28:34 GMT, Alex Menkov <amen...@openjdk.org> wrote:

> FilteredFieldStream used by heap walking functions to iterate through 
> klass/superclasses/interfaces fields are known to have poor performance (see 
> [JDK-8317692](https://bugs.openjdk.org/browse/JDK-8317692) for details).
> Heap walking API implementation is the last user of the klasses.
> The fix reworks iteration through klass/superclasses/interfaces fields and 
> drops FilteredFieldStream-related code.
> Additionally removed/updated includes of reflectionUtils.hpp.
> 
> Testing:
>   - tier1..4;
>   - test/hotspot/jtreg/vmTestbase/nsk/jvmti (contains tests for different 
> heap walking functions);
>   - new test from #17580 (now the test runs several times faster).

This pull request has now been integrated.

Changeset: fd3042a0
Author:    Alex Menkov <amen...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/fd3042a04b2d76180cb90f688e8b33156fdf3d18
Stats:     272 lines in 10 files changed: 27 ins; 221 del; 24 mod

8318566: Heap walking functions should not use FilteredFieldStream

Reviewed-by: cjplummer, sspitsyn

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

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

Reply via email to