RFR: 8296492: Remove ObjectLocker in JVMTI get_subgroups call [v5]

Coleen Phillimore coleenp at openjdk.org
Tue Nov 15 18:52:40 UTC 2022


On Wed, 9 Nov 2022 11:54:55 GMT, Serguei Spitsyn <sspitsyn at openjdk.org> wrote:

>> I don't think this has changed. Right now, if there are no child subgroups then *group_count_ptr will be 0 and *groups_ptr will be NULL as there is no memory to deallocate. JVMTI Deallocate is specified to do nothing when called with NULL.
>
> Alan, you are right. This check existed before.

Thanks Alan, yes, I didn't change the null return.

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

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


More information about the hotspot-dev mailing list