RFR: 8262476: Add filter to speed up CompileCommand lookup [v2]

Nils Eliasson neliasso at openjdk.java.net
Thu Mar 18 10:43:37 UTC 2021


On Wed, 17 Mar 2021 22:16:46 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

> From what I see `has_command()` can use `filter_check()` too.

Good observation! That simplifies it further - and the method name is freed.

> May be rename `filter_set()` into `set_command()` or something.
> Rename `filter_check()` to `has_command()` and remove old `has_command()` method.
> 
> If I understand this code correctly.

Yes - this makes the patch even better!

Thanks!

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

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


More information about the hotspot-compiler-dev mailing list