[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-serviceability-dev
Subject:    Integrated: 8258471: "search codecache" clhsdb command does not work
From:       Yasumasa Suenaga <ysuenaga () openjdk ! java ! net>
Date:       2020-12-18 4:52:57
Message-ID: NcWmef9sLjNDf8-H7YjfFkEgeX9etoyuk7QG6Z3eelA=.efdb0d2d-c7b8-4d7e-8570-74133cb9e534 () github ! com
[Download RAW message or body]

On Wed, 16 Dec 2020 10:27:05 GMT, Yasumasa Suenaga <ysuenaga@openjdk.org> wrote:

> `search codecache` command does not work as following:
> 
> hsdb> search codecache 0x7fedbd0aec90
> java.lang.RuntimeException: Unable to deduce type of CodeBlob from address \
> 0x00007fedbc85e810 (expected type nmethod, RuntimeStub, SafepointBlob, \
> DeoptimizationBlob, or ExceptionBlob) at \
> jdk.hotspot.agent/sun.jvm.hotspot.code.CodeCache.createCodeBlobWrapper(CodeCache.java:177)
>  at jdk.hotspot.agent/sun.jvm.hotspot.memory.CodeHeap.iterate(CodeHeap.java:111)
> at jdk.hotspot.agent/sun.jvm.hotspot.code.CodeCache.iterate(CodeCache.java:185)
> at jdk.hotspot.agent/sun.jvm.hotspot.CommandProcessor$40.doit(CommandProcessor.java:1535)
>  at jdk.hotspot.agent/sun.jvm.hotspot.CommandProcessor.executeCommand(CommandProcessor.java:2051)
>  at jdk.hotspot.agent/sun.jvm.hotspot.CommandProcessor.executeCommand(CommandProcessor.java:2021)
>  at jdk.hotspot.agent/sun.jvm.hotspot.CommandProcessor.run(CommandProcessor.java:1901)
>  at jdk.hotspot.agent/sun.jvm.hotspot.CLHSDB.run(CLHSDB.java:99)
> at jdk.hotspot.agent/sun.jvm.hotspot.CLHSDB.main(CLHSDB.java:40)
> at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.runCLHSDB(SALauncher.java:280)
> at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.main(SALauncher.java:483)
> 
> I checked the Object which points 0x7fedbd0aec90, it was `VtableBlob`. It has been \
> introduced in [JDK-8199406](https://bugs.openjdk.java.net/browse/JDK-8199406), but \
> it did not change SA code. 
> SA should support `VtableBlob`.

This pull request has now been integrated.

Changeset: 1e03ca13
Author:    Yasumasa Suenaga <ysuenaga@openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/1e03ca13
Stats:     47 lines in 3 files changed: 46 ins; 0 del; 1 mod

8258471: "search codecache" clhsdb command does not work

Reviewed-by: cjplummer, sspitsyn

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

PR: https://git.openjdk.java.net/jdk/pull/1800


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic