在哪里可以找到Sun / Oracle JVM的默认XSS值? [英] where to find default XSS value for Sun/Oracle JVM?

查看:128
本文介绍了在哪里可以找到Sun / Oracle JVM的默认XSS值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人为各种版本的Sun / Oracle JVM和不同的操作系统找到一个列出默认XSS大小的JVM文档?

Has anyone ever found a single JVM document listing default XSS sizes for various versions of the Sun/Oracle JVM, and for different OS's?

我已经能够在 jrockit jdk 5.0 docs ,但这对使用普通Sun / Oracle JVM的人没有帮助。

I've been able to find this table in the jrockit jdk 5.0 docs, but that's not helpful for those using the "normal" Sun/Oracle JVM.

我很欣赏 XSS 值会因操作系统(和JVM版本)而异,所以可能没有一个文档列出了所有最近的组合。但是,如果这里有任何读者知道任何单独的文档,至少列出每个 JVM版本(或至少1.6和1.5)的默认XSS值,或者即使只是一些 OS,这将是一个很好的开始。

I do appreciate that the XSS value will vary per OS (and JVM version), so maybe there is no one document that lists all recent combinations. But if any readers here know of any individual documents that list at least just the default XSS value for each JVM version (or at least 1.6 and 1.5), or even if only for some OS's, that would be a great start.

我要补充一点,这个有价值的原因是我们常常看到人们推荐(错误的,我认为)有人可以通过更改 XSS 值来解决问题。但是如果你不知道自己的默认值,那么就无法知道你是否通过某人推荐的改变来提高或降低价值。他们通常不会指出他们所使用的版本/操作系统,因此他们的建议是否会帮助你是一个废话。

I'll add that the reason this is valuable is that often we see people recommend (wrongly, I think) that someone can solve a problem by changing the XSS value. But if you don't know your default, then there's no way to know if you're raising or lowering the value by whatever change someone recommends. They don't generally indicate the version/OS they're on, so it's a crapshoot whether their suggestion will "help" you.

甚至比某些文档更好,如果任何人都知道一种方法来查询JVM以获取当前值,无论是从命令行还是通过API调用,这将更有价值。谢谢。

Even better than some documentation, if anyone knows a way to query the JVM to get the current value, whether from the command line or via an API call, that would be even more valuable. Thanks.

推荐答案

尝试:

java -XX:+PrintFlagsFinal -version | grep ThreadStackSize

这篇关于在哪里可以找到Sun / Oracle JVM的默认XSS值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆