RFR [XS]: 8234968: check calloc rv in libinstrument InvocationAdapter
Alan Bateman
Alan.Bateman at oracle.com
Thu Dec 12 11:37:33 UTC 2019
On 12/12/2019 10:00, Langer, Christoph wrote:
>
> Hi Matthias,
>
> I think your current patch is good as it is – at least it wouldn’t
> make things worse, AFAICS.
>
> Further improvements can probably be done under another issue.
>
>
Yes, another issue is fine. If decodePath can't allocate during the
onload phase (-javaagent case) then it would be better to have the VM
initialization abort. The late binding agent case is trickery but it is
wrong to continue with the Boot-Class-Path attribute ignored.
-Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/serviceability-dev/attachments/20191212/c102355c/attachment.htm>
More information about the serviceability-dev
mailing list