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

List:       openjdk-serviceability-dev
Subject:    Integrated: 8244670: convert clhsdb "whatis" command from javascript to java
From:       Chris Plummer <cjplummer () openjdk ! java ! net>
Date:       2021-12-21 22:58:15
Message-ID: y2uPGR2MoOg93eJOBD-5KWkF6cBzQLspREidd3J4TYs=.3ef7c3e9-c02b-4a5c-9fde-1e345c701b06 () github ! com
[Download RAW message or body]

On Sat, 18 Dec 2021 01:08:04 GMT, Chris Plummer <cjplummer@openjdk.org> wrote:

> "whatis" is one of the old clhsdb commands that was written in javascript and lost \
> when Nashorn support was removed. The old "whatis" is the same as the old "findpc", \
> but also called LoadObject.lookup() on the address and also tried to determine the \
> C++ Type of the address. However, with the improvements made to PointerFinder by \
> JDK-8247514, findpc now also includes support for this (plus other types of address \
> lookups), so these two commands will do the same thing. I'm still adding "whatis" \
> since some people might still rely on it from when it worked in JDK 8, and may not \
> know that findpc will do the same.

This pull request has now been integrated.

Changeset: 00c0d108
Author:    Chris Plummer <cjplummer@openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/00c0d1087021603f3f09131cb0458ac8b9c110e5
                
Stats:     22 lines in 3 files changed: 21 ins; 0 del; 1 mod

8244670: convert clhsdb "whatis" command from javascript to java

Reviewed-by: sspitsyn, kevinw

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

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


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

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