RFR: 8335358: [premain] Explore alternative ways to trigger the end of training run [v3]

Mat Carter macarte at openjdk.org
Mon Sep 16 21:43:20 UTC 2024


On Mon, 16 Sep 2024 16:34:10 GMT, Ashutosh Mehra <asmehra at openjdk.org> wrote:

> @macarte Can we specify multiple methods each with its own value for `count` as triggers?

We decided to keep it simple for now; to support separate counts would require a map of methods to counts and using wildcards its possible to have many triggers e.g. java/lang/string.*.  Also while the compilers only add trigger_checks to the specified methods, due to the interpreter using a common method entry even a hash lookup would likely degrade the performance with so many calls

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

PR Comment: https://git.openjdk.org/leyden/pull/21#issuecomment-2354076442


More information about the leyden-dev mailing list