易截截图软件、单文件、免安装、纯绿色、仅160KB

Java options Some Useful XX Options

http://java.sun.com/javase/technologies/hotspot/vmoptions.jsp
Categories of Java HotSpot VM Options
 

Standard options recognized by the Java HotSpot VM are described on the Java Application Launcher reference pages for Windows
, Solaris
and Linux
. This document deals exclusively with non-standard options recognized by the Java HotSpot VM:
Options that begin with -X
are non-standard (not
guaranteed to be supported on all VM implementations), and are subject
to change without notice in subsequent releases of the JDK.
Options that are specified with -XX
are not stable and are not recommended for casual use. These options are subject to change without notice.
 
Some Useful -XX Options
 
Default values are listed for Java SE 6 for Solaris Sparc with -server.
Some options may vary per architecture/OS/JVM version. Platforms with a
differing default value are listed in the description.
Boolean options are turned on with -XX:+<option>
and turned off with -XX:-<option>
.
Numeric options are set with -XX:<option>=<number>
.
Numbers can include 'm' or 'M' for megabytes, 'k' or 'K' for kilobytes,
and 'g' or 'G' for gigabytes (for example, 32k is the same as 32768).
String options are set with -XX:<option>=<string>
, are usually used to specify a file, a path, or a list of commands
Flags marked as manageable
are dynamically writeable
through the JDK management interface
(com.sun.management.HotSpotDiagnosticMXBean API) and also through
JConsole. In Monitoring and Managing Java SE 6 Platform Applications
, Figure 3 shows an example. The manageable flags can also be set through jinfo -flag
.
The options below are loosely grouped into three categories.
Behavioral options
change the basic behavior of the VM.
Performance tuning
options are knobs which can be used to tune VM performance.
Debugging options
generally enable tracing, printing, or output of VM information.
 
B


相关文档:

JAVA连接数据库 Oracle

本文首先介绍java连接oracle要注意的几点,然后介绍几种常用的连接方式。
一、几点注意:
1、在客户端软件开发中使用Thin驱动程序
     在开发Java软件方面,Oracle的数据库提供了四种类型的驱动程序,二种用于应用软件、applets、servlets等客户端软件,另外二种用于数据库中的Java存储过程等服务� ......

Java 线程 Thread 对象锁的wait和notify解析

通常,多线程之间需要协调工作。例如,浏览器的一个显示图片的线程displayThread想要执行显示图片的任务,必须等待下载线程downloadThread将该图片下载完毕。如果图片还没有下载完,displayThread可以暂停,当downloadThread完成了任务后,再通知displayThread“图片准备完毕,可以显示了”,这时,displayThread ......

JAVA几个常见错误简析

1,空指针错误 java.lang.NullPointerException
使用基本的JAVA数据类型,变量的值要么已经是默认值,如果没有对其正常赋值,程序便不能通过编译,因此使用基本的JAVA数据类型
(double,float,boolean,char,int,long)一般不会引起空指针异常。由此可见,空指针异常主要跟与对象的操作相关。
下面先列出了可能发生空指� ......

JAVA网络应用系统开发的新思考方法

你也许是一个工程师,正在使用EJB、Struts、Hibernate、Spring等各种国外流行的框架开发你的系统中的各个部分,它们之间靠不同的配置文件、接口、服务连接在一起,为这些接口、配置、服务的编写、调用,头疼吗?
你也许是一个PM, 正在为你的项目采用什么框架、如何分组、如何协调、各种框架的优劣做评估、测试,为你的应� ......

Java静态变量以及非标准单态模式的坑

今天遇到一个很诡异的bug,调试了半天也没有看出来有什么问题,抽象一下代码如下:
public class Instance
{

public static Instance instance = new Instance();

public static Map<String, String> map = new HashMap<String, String>();

public static Instance instance()
{

r ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号