RFR: 8350287: Cleanup SA's support for CodeBlob subclasses [v2]

Chris Plummer cjplummer at openjdk.org
Wed Feb 19 06:26:53 UTC 2025


On Wed, 19 Feb 2025 04:31:11 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:

>> src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/code/RuntimeStub.java line 47:
>> 
>>> 45:   private static void initialize(TypeDataBase db) {
>>> 46:     Type type = db.lookupType("RuntimeStub");
>>> 47:     callerMustGCArgumentsField = type.getCIntegerField("_caller_must_gc_arguments");
>> 
>> This field is in `CodeBlob` since JDK 23 [JDK-8329433](https://bugs.openjdk.org/browse/JDK-8329433) https://github.com/openjdk/jdk/blob/master/src/hotspot/share/code/codeBlob.hpp#L126
>
> Ah, right. I forgot you had mentioned that. I think that means I can rid of RuntimeStub and RuntimeBlob once this code is moved to CodeBlob.

Ready for another review.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23684#discussion_r1961019487


More information about the serviceability-dev mailing list