性能话题>PerMethodSpecTrapLimit 参数讨论专区>

PerMethodSpecTrapLimit 参数讨论专区

欢迎来到 JVM 参数PerMethodSpecTrapLimit的讨论专区

参数名称

PerMethodSpecTrapLimit

取值类型

int

参数说明

Limit on speculative traps (of one kind) in a method (includes inlines)

用法及建议

  • 使用该参数的正确姿势是-XX:PerMethodSpecTrapLimit=___
  • PerMethodSpecTrapLimit必须配合参数-XX:+UnlockExperimentalVMOptions使用,并且只能加在其后才能生效

默认值

平台/版本 JDK6 JDK7 JDK8
Linux 5000 5000 5000
MacOS 5000 5000 5000
Windows 5000 5000 5000

关于该参数的使用,您有什么心得体会或者疑问吗?欢迎在下方参与讨论 ↓

点赞
5536 阅读
请先登录,感受更多精彩内容
快去登录吧,你将获得
  • 浏览更多精彩评论
  • 和开发者讨论交流,共同进步