Integrated: 8333841: Add more logging into setfldw001 tests
Leonid Mesnik
lmesnik at openjdk.org
Tue Jun 11 18:43:16 UTC 2024
On Sat, 8 Jun 2024 17:00:04 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:
> Tests
> SetFieldAccessWatch/setfldw001
> SetFieldModificationWatch/setfmodw001
> intermittently fail with Xcomp. I was unable to reproduce the problem.
> The fix adds more checks and variants with jvmti logging.
>
> The goal is to understand why the test fails.
> 1. Confirm that the event is not sent. Currently, the test doesn't differ between sending "NULL" event and not sending an event at all.
> 2. Check if the interpreter-only mode is switched too late in Thread-1. The jvmti logging shows when field events are enabled and when each thread actually switches to interpreter-only and enables event handling.
>
> The plan is to try to reproduce the failure and remove '@test id=logging' after https://bugs.openjdk.org/browse/JDK-8205957 is fixed.
This pull request has now been integrated.
Changeset: 7ed8a5c4
Author: Leonid Mesnik <lmesnik at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/7ed8a5c431e1cba34167896f8d331caf594852ef
Stats: 35 lines in 5 files changed: 31 ins; 2 del; 2 mod
8333841: Add more logging into setfldw001 tests
Reviewed-by: cjplummer, amenkov, sspitsyn
-------------
PR: https://git.openjdk.org/jdk/pull/19612
More information about the serviceability-dev
mailing list