RFR: 8333841: Add more logging into setfldw001 tests.

Alex Menkov amenkov at openjdk.org
Mon Jun 10 20:08:13 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.

Marked as reviewed by amenkov (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/19612#pullrequestreview-2108656874


More information about the serviceability-dev mailing list