Hotspot symbol visibility
Magnus Ihse Bursie
magnus.ihse.bursie at oracle.com
Mon Feb 19 10:55:37 UTC 2024
On 2024-02-18 11:15, Andrew Haley wrote:
> On 2/14/24 10:06, Magnus Ihse Bursie wrote:
>> My takeaway from the discussions is that we are most likely exporting a
>> way too broad set of symbols to SA. It seems likely that this set can be
>> drastically cut down. Actually getting an understanding of exactly which
>> symbols SA need seem like a very good first step.
>>
>> So, is this a journey anyone would be interested in embarkering on? I
>> will help as much as I can from a build PoV, but I have no clue
>> whatsoever about what SA needs.
>
> Alternatively, we have separate debuginfo. SA can use the debug symbols,
> allowing us to strip all others. What's wrong with this reasoning?
>
I don't know if there is anything wrong with that reasoning. It seems
reasonable. I also hope that we won't need to take the detour of first
generating the symbols and then strip them, but instead can add them
directly to the debuginfo, if we should choose to do things this way.
Can anyone from serviceability chip in? Would it be okay for SA to
require a .debuginfo or .diz file to be able to extract all the internal
hotspot symbols?
/Magnus
More information about the serviceability-dev
mailing list