Withdrawn: 8297877: jfr functions should check JavaValue result before use

Calvin Cheung ccheung at openjdk.org
Wed Jan 11 17:37:22 UTC 2023


On Wed, 11 Jan 2023 05:56:15 GMT, Calvin Cheung <ccheung at openjdk.org> wrote:

> Please review this changeset including:
> 1) change `JfrJavaSupport::get_field_global_ref()` to return a `bool` so that in `install_chunk_monitor()` in `jfrChunkRotation.cpp`, it checks the return status before doing `result.get_jobject()`.
> 2) add an `assert` in `JfrDCmd::print_help()` to make sure the `result` is of `T_OBJECT` type.
> 
> Passed tiers 1 - 4 testing.

This pull request has been closed without being integrated.

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

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


More information about the hotspot-jfr-dev mailing list