RFR: 8264593: debug.cpp utilities should be available in product builds. [v2]

Kevin Walls kevinw at openjdk.java.net
Tue Apr 27 21:17:09 UTC 2021


On Mon, 26 Apr 2021 21:09:28 GMT, Kevin Walls <kevinw at openjdk.org> wrote:

>> src/hotspot/share/utilities/debug.cpp line 495:
>> 
>>> 493: // AllocatedObj in allocation.hpp is not defined for PRODUCT
>>> 494: extern "C" JNIEXPORT void pa(intptr_t p)   { ((AllocatedObj*) p)->print(); }
>>> 495: #endif
>> 
>> I don't really think 'pa' is interesting enough to keep.
>
> Thanks Coleen - I haven't used pa either.  Will update without it...

I've taken out pa(intptr_t) and the misleading comment above it saying "pv".  
Also removed pv() from the help, which was perhaps an old name for pa.

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

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


More information about the hotspot-dev mailing list