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

List:       openjdk-serviceability-dev
Subject:    Integrated: 8294411: SA should provide more useful info when it fails to start up due to "failed to 
From:       Chris Plummer <cjplummer () openjdk ! org>
Date:       2022-09-28 17:20:34
Message-ID: Ms051vjptNTjLBKndnDR27Z2U0IuYjuwxhU-_ZJQL0k=.33defb6e-41ab-4e4a-af72-926f6411c021 () github ! com
[Download RAW message or body]

On Tue, 27 Sep 2022 05:16:35 GMT, Chris Plummer <cjplummer@openjdk.org> wrote:

> Sometimes SA fails to startup with the following error message:
> 
> ERROR: failed to workaround classshareing
> Unable to open core file
> 
> The code in question is init_classsharing_workaround() in ps_core_common.c. There a \
> number of reasons why the class sharing work around can fail, and the reason is \
> usually pretty well described with a print_debug() statement. However, since this \
> is an error, these should really just be print_error() statements so the user \
> doesn't need to figure out how to get more info by setting LIBSAPROC_DEBUG (which \
> may also produce a ton of output unrelated to the error).

This pull request has now been integrated.

Changeset: 3b7fc80b
Author:    Chris Plummer <cjplummer@openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/3b7fc80b1887db957a0134592eb0711c225ba64c
                
Stats:     15 lines in 1 file changed: 2 ins; 0 del; 13 mod

8294411: SA should provide more useful info when it fails to start up due to "failed \
to workaround classshareing"

Reviewed-by: kevinw, sspitsyn

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

PR: https://git.openjdk.org/jdk/pull/10438


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

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