RFR: 8321219: runtime/jni/FastGetField: assert(is_interpreted_frame()) failed: interpreted frame expected [v3]

Serguei Spitsyn sspitsyn at openjdk.org
Tue Dec 5 23:36:46 UTC 2023


> 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

Serguei Spitsyn has updated the pull request incrementally with one additional commit since the last revision:

  fixed trailing whitespace

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/16961/files
  - new: https://git.openjdk.org/jdk/pull/16961/files/7d47fd12..34da9c6e

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=16961&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=16961&range=01-02

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/16961.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/16961/head:pull/16961

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


More information about the serviceability-dev mailing list