On Tue, 5 Dec 2023 00:23:45 GMT, Serguei Spitsyn <sspit...@openjdk.org> wrote:

> This is a trivial fix for a regression caused by:
>  [8308614](https://bugs.openjdk.org/browse/JDK-8308614) Enabling JVMTI 
> ClassLoad event slows down vthread creation by factor 10
> 
> The fix of 8308614 just triggered a known issue:
>   [8316283](https://bugs.openjdk.org/browse/JDK-8316283) field watch events 
> are not always posted with -Xcomp option
>   
> The fix is just a work around with the extra checks with the 
> `JvmtiExport::should_post_field_access()` and 
> `JvmtiExport::should_post_field_modification()`.
> 
> Testing:
> - The test `runtime/jni/FastGetField/FastGetField.java` does not fail anymore 
> with this fix
> - In progress: Test with tiers 1-6

This pull request has now been integrated.

Changeset: 905137d4
Author:    Serguei Spitsyn <sspit...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/905137d4065eb40bef6946bdc6bb688d6018a89d
Stats:     5 lines in 1 file changed: 4 ins; 0 del; 1 mod

8321219: runtime/jni/FastGetField: assert(is_interpreted_frame()) failed: 
interpreted frame expected

Reviewed-by: dcubed

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

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

Reply via email to