Use of -noverify when launching java apps

前端 未结 6 1074
小鲜肉
小鲜肉 2020-12-29 02:06

I have seen many apps that take instrument classes and take -javaagent as a param when loading also put a -noverify to the command line.

Th

6条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-29 02:27

    The new verifier that is introduced in JAVA 6 is very complicated to process for code manipulations.

    Take a look at this: http://chrononsystems.com/blog/java-7-design-flaw-leads-to-huge-backward-step-for-the-jvm

    and the related bug report: http://bugs.sun.com/view_bug.do?bug_id=8009595

提交回复
热议问题