[英]Updating the (GC) Garbage Collection policy of IBM Websphere (WAS) v8
We have a Java EE application that runs on Websphere (IBM WebSphere Application Server v8.5.5.1) 我们有一个在Websphere上运行的Java EE应用程序(IBM WebSphere Application Server v8.5.5.1)
According to IBM ( http://www.ibm.com/developerworks/websphere/techjournal/1106_bailey/1106_bailey.html ), the default GC policy of WAS v8 is -Xgcpolicy:gencon
根据IBM( http://www.ibm.com/developerworks/websphere/techjournal/1106_bailey/1106_bailey.html ),WAS v8的默认GC策略是
-Xgcpolicy:gencon
I need to change this default to -Xgcpolicy:balanced
我需要将此默认值更改为
-Xgcpolicy:balanced
I have searched online and here on stackoverflow but haven't found any instruction how I can achieve this. 我已经在网上搜索过,这里也有关于stackoverflow的信息,但是没有找到任何说明如何实现此目的。
Any thoughts? 有什么想法吗?
That's just a JVM property. 那只是一个JVM属性。 Have you tried setting that JVM argument in the WAS Admin console?
您是否尝试过在WAS管理控制台中设置JVM参数?
Middleware servers > server-name > Process definition > Java Virtual Machine 中间件服务器>服务器名称>进程定义> Java虚拟机
And of course do a save/synch and stop/start of the server to pick up the changes. 当然,请执行服务器的保存/同步和停止/启动以获取更改。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.