Re: 回复: 回复: 回复: 回复: JVM crashes constantly when High GC happens
charlie hunt
charlie.hunt at oracle.com
Wed Apr 24 12:50:51 UTC 2019
Just going to comment that I have seen cases of a bug in a device driver that corrupted the Java heap. The symptoms mentioned here seem very similar to the cases I have seen.
hths,
Charlie
> On Apr 24, 2019, at 2:52 AM, Andrew Haley <aph at redhat.com> wrote:
>
>> 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