Re: 回复: 回复: 回复: 回复: JVM crashes constantly when High GC happens

Andrew Haley aph at redhat.com
Wed Apr 24 07:52:56 UTC 2019


On 4/23/19 6:55 PM, shang xinli wrote:

> Yes, this happens on multi machines but only on those with a
> specific disk driver. I am thinking the device drivers which runs in
> kernel mode could corrupt other's memory.

Yes.

> The smartctl is kicked off by command line which makes system call
> by issuing ioctl like what I copy & pasted in last email.
> 
> No, we don't swap to disk.
> 
> There is one question I would need help before I starting
> investigation. When a device driver servicing one user mode
> application's system call(ioctl), can that device driver corrupt
> other user mode application's memory(heap in our case)?  How?

Easily: the device driver doesn't run in user space, it runs in the
kernel.

-- 
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671



More information about the hotspot-gc-dev mailing list