re: JVM参数优化 我不是张嘎-小兵 2007-03-12 17:53
java -X
-Xmixed mixed mode execution (default)
-Xint interpreted mode execution only
-Xbootclasspath:<directories and zip/jar files separated by :>
set search path for bootstrap classes and resources
-Xbootclasspath/a:<directories and zip/jar files separated by :>
append to end of bootstrap class path
-Xbootclasspath/p:<directories and zip/jar files separated by :>
prepend in front of bootstrap class path
-Xnoclassgc disable class garbage collection
-Xincgc enable incremental garbage collection
-Xloggc:<file> log GC status to a file with time stamps
-Xbatch disable background compilation
-Xms<size> set initial Java heap size
-Xmx<size> set maximum Java heap size
-Xss<size> set java thread stack size
-Xprof output cpu profiling data
-Xfuture enable strictest checks, anticipating future default
-Xrs reduce use of OS signals by Java/VM (see documentation)
-Xcheck:jni perform additional checks for JNI functions
-Xshare:off do not attempt to use shared class data
-Xshare:auto use shared class data if possible (default)
-Xshare:on require using shared class data, otherwise fail.
re: Spring整合C3P0的配置 我不是张嘎-小兵 2007-03-05 16:27
JDK1.4.2好像是有问题。
那我赶紧换到1.5去。
re: 说说MyEclipse4.0的新功能 我不是张嘎-小兵 2006-03-14 20:52
抱歉,我现在也不用myeclipse,也是因为速度太慢,wtp还不错。感觉0.7比1.0版本好。不过myeclipse4.1的js调试功能真是吸引人!
对于Hibernate你设置成:<generator class="native"/>,对于MySQL数据库默认就是increment的。