On Mon, 23 Feb 2026 18:19:37 GMT, Larry Cable <[email protected]> wrote:
>> modified the pre-existing VM.classes jcmd to add a 'location' option, that
>> when specified, will (natively) attempt to obtain the value (if non-null) of
>> the location URL of the CodeSource of each classes ProtectionDomain.
>>
>> effectively:
>>
>> someObject.getClass().getProtectionDomain().getCodeSource().getLocation().toExternalForm()
>>
>> (where interim oops are null-checked)
>
> Larry Cable has updated the pull request incrementally with one additional
> commit since the last revision:
>
> JDK-8327246: cleaned up whitespace issues in jcmd.md
src/hotspot/share/services/diagnosticCommand.hpp line 739:
> 737: class ClassesDCmd : public DCmdWithParser {
> 738: private:
> 739: static constexpr const char *desc = "Print all loaded
> classes,\nclasses are annotated with flags:\n F = has, or inherits, a
> non-empty finalize method,\n f = has final method,\n W = methods rewritten,\n
> C = marked with @Contended annotation,\n R = has been redefined,\n S = is an
> (App)CDS shared class,\n (if -location is also specified, (either) 's'
> indicating static (or) 'd' indicating dynamic AOT cache locations, is
> appended)";
the line is super long. could you split it please
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/29048#discussion_r2907999432