On Mon, 6 May 2024 17:29:05 GMT, Sebastian Lövdahl <d...@openjdk.org> wrote:

>> 8327114: Attach in Linux may have wrong behaviour when pid == ns_pid 
>> (Kubernetes debug container)
>
> Sebastian Lövdahl has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   Reworked attach logic

I pushed an updated attempt at this now with 
d3e26a0c444e06ba9757fd528d72d83f56cd098b. Local testing and `make test 
TEST="jtreg:test/hotspot/jtreg/containers"` + `make test 
TEST="jtreg:test/hotspot/jtreg/serviceability"` indicate that all the known 
use-cases work.

Still eager to see what you come up with @larry-cable. `createAttachFile` could 
still be improved for example. And I would also be interested in looking into 
writing some test for the elevated privileges case.

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

PR Comment: https://git.openjdk.org/jdk/pull/19055#issuecomment-2096564990

Reply via email to