A lot of SIGSEGV while strace'ing java process

廉价感情. 提交于 2019-11-29 03:42:33

Since this is java, it means that your JVM is using SIGSEGVs for something. Common uses include

  • null pointer dereferences -- the JVM catches SIGSEGVs to address 0 and turns them into NullPointerExceptions

  • garbage collection write barriers -- rarely changed pages are marked read only and SEGVs catch writes to them. This way the garbage collector doesn't have to rescan all of memory all of the time.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!