JavaÐéÄâ»ú²ÎÊý XXµÈÏà¹Ø²ÎÊýÓ¦ÓÃ
ͨ³££¬ÎÒÃÇΪÁ˱ÜÃâÄÚ´æÒç³öµÈÎÊÌ⣬ÐèÒªÉèÖû·¾³±äÁ¿
JAVA_OPTS -Xms256M -Xmx512M µÈ£¬¡¾¶ÔÓÚ·þÎñÆ÷£¬Ò»°ã¶¼ÉèÖóÉÒ»ÑùµÄ¡¿
µ«ÊÇÓеÄʱºò¿ÉÄÜÕâÑùµÄÉèÖû¹»á²»ÐÐ(±ÈÈ磬µ±ServerÓ¦ÓóÌÐò¼ÓÔؽ϶àÀàʱ£¬¼´jvm¼ÓÔØÀàʱ£¬ÓÀ¾ÃÓòÖеĶÔÏó¼±¾çÔö¼Ó£¬´Ó¶øʹjvm²»¶Ïµ÷ÕûÓÀ¾ÃÓò´óС£¬ÎªÁ˱ÜÃâµ÷Õû)£¬Äã¿ÉÒÔʹÓøü¶àµÄ²ÎÊýÅäÖã¬È磺 java -Xms512m -Xmx512m -XX:PermSize=64m -XX:MaxPermSize=128m
ÆäÖУ¬Ê¹Óà -XX:MaxPerSize±êÖ¾À´Ôö¼ÓÓÀ¾ÃÓòµÄ´óС£¬-XX:PerSize±êÖ¾ÉèÖóõʼֵ
-XX
»ùÓÚ Sun µÄ Java 2 Standard Edition£¨J2SE£©5 ÓÐÉú³ÉÀ¬»ø»ØÊÕ¹¦ÄÜ£¬ÕâÔÊÐí·Ö¸ôÄÚ´æ³ØÒÔ°üº¬²»Í¬Ê±Ð§µÄ¶ÔÏó¡£À¬»ø»ØÊÕÑ»·¸ù¾ÝʱЧÊÕ¼¯ÓëÆäËû¶ÔÏó±Ë´Ë¶ÀÁ¢µÄ¶ÔÏó¡£Ê¹ÓÃÆäËû²ÎÊý£¬Äú¿ÉÒÔµ¥¶ÀÉèÖÃÄÚ´æ³ØµÄ ´óС¡£ÎªÁËʵÏÖ¸üºÃµÄÐÔÄÜ£¬ÄúÓ¦¸Ã¶Ô°üº¬¶ÌÆÚ´æ»î¶ÔÏóµÄ³ØµÄ´óС½øÐÐÉèÖã¬ÒÔʹ¸Ã³ØÖеĶÔÏóµÄ´æ»îʱ¼ä²»»á³¬¹ýÒ»¸öÀ¬»ø»ØÊÕÑ»·¡£ÐÂÉú³ÉµÄ³ØµÄ´óСÓÉ NewSize ºÍ MaxNewSize ²ÎÊýÈ·¶¨¡£
µÚÒ»´ÎÀ¬»ø»ØÊÕÑ»·Öдæ»îÏÂÀ´µÄ¶ÔÏóתÒƵ½ÁíÒ»¸ö³ØÖС£Éú»¹Õ߳صĴóСÓɲÎÊý SurvivorRatio È·¶¨¡£ Èç¹ûÀ¬»ø»ØÊÕ±ä³ÉÁËÆ¿¾±£¬Äú¿ÉÒÔ³¢ÊÔ¶¨ÖÆÉú³É³ØÉèÖá£Òª¼à¿ØÀ¬»ø»ØÊÕͳ¼ÆÐÅÏ¢£¬Ê¹Óà Tivoli Performance Viewer ÖеĶÔÏóͳ¼ÆÐÅÏ¢»ò verbose:gc ÅäÖÃÉèÖᣠÊäÈëÏÂÁÐÖµ£º
-XX:NewSize (lower bound)
-XX:MaxNewSize (upper bound)
-XX:SurvivorRatio=NewRatioSize
-XX:NewSize 320m ´ËÖµÉè´ó¿Éµ÷´óжÔÏóÇø£¬¼õÉÙFull GC´ÎÊý
-XX:+UseParNewGC £ºËõ¶ÌminorÊÕ¼¯µÄʱ¼ä ¿ÉÓÃÀ´ÉèÖò¢ÐÐÊÕ¼¯¡¾¶àCPU¡¿
-XX:+ParallelGCThreads ¿ÉÓÃÀ´Ôö¼Ó²¢Ðжȡ¾¶àCPU¡¿
-XX:+UseParallelGC ÉèÖúó¿ÉÒÔʹÓò¢ÐÐÇå³ýÊÕ¼¯Æ÷¡¾¶àCPU¡¿-Xss£ºÃ¿¸öÏ̵߳ÄStack´óС
-verbose:gc ÏÔʾÀ¬»øÊÕ¼¯ÐÅÏ¢
-Xloggc:gc.log Ö¸¶¨À¬»øÊÕ¼¯ÈÕÖ¾Îļþ
¸Õ¸ÕÁ˽⵽µÄһЩ²ÎÊý£¨´ýʵ¼ù²âÊÔ£©
-Xmn£ºyoung generationµÄheap´óС£¬Ò»°ãÉèÖÃΪXmxµÄ3¡¢4·ÖÖ®Ò»
-XX:+UseConcMarkSweepGC £ºËõ¶ÌmajorÊÕ¼¯µÄʱ¼ä
Ìáʾ£º´ËÑ¡ÏîÔÚHeap Size ±È½Ï´ó¶øÇÒMajorÊÕ¼¯Ê±¼ä½Ï³¤µÄÇé¿öÏÂʹÓøüºÏÊÊ
ÏÂÃæµÄÃüÁî°ÑÕû¸ö¶ÑÉèÖóÉ128m£¬ÐÂÓò±ÈÂÊÉèÖóÉ3£¬¼´ÐÂÓòÓë¾ÉÓò±ÈÀýΪ1£º3£¬ÐÂÓòΪ¶ÑµÄ1/4»ò32M£º
java –Xms128m –Xmx128m –XX:NewRatio =3
ȱʡֵΪ£ºNewSize=2m MaxNewSize=32m SurvivorRatio=2¡£µ«ÊÇ£¬Èç¹û JVM µÄ¶Ñ´óС´óÓÚ 1GB£¬ÔòÓ¦¸ÃʹÓÃÖµ£º-XX:newSize=640m -XX
Ïà¹ØÎĵµ£º
Javaѧϰ´ÓÈëÃŵ½¾«Í¨
Ò»¡¢ JDK (Java Development Kit)
JDKÊÇÕû¸öJavaµÄºËÐÄ£¬°üÀ¨ÁËJavaÔËÐл·¾³£¨Java Runtime Envirnment£©£¬Ò»¶ÑJava¹¤¾ßºÍJava»ù´¡µÄÀà¿â(rt.jar)¡£²»ÂÛʲôJavaÓ¦Ó÷þÎñÆ÷ʵÖʶ¼ÊÇÄÚÖÃÁËij¸ö°æ±¾µÄJDK¡£Òò´ËÕÆÎÕJDKÊÇѧºÃJavaµÄµÚÒ»²½¡£×îÖ÷Á÷µÄJ ......
ÔÚÀàÖж¨ÒåµÄ·½·¨ÔÚ·µ»Øֵǰ¼ÓÉÏstaticÐÞÊηû¾Í¿ÉÒÔÔÚmain·½·¨Öе÷ÓÃÁË¡£Èç¹û²»ÓÃstaticÄǾÍÐèÒªÔÚmain·½·¨Öд´½¨¶ÔÏó£¬Ê¹ÓöÔÏóÀ´µ÷ÓöÔÏóµÄ·½·¨¡£
public class Test{
public static void main(String[] args){
Test t=new Test();
int b=1;
int c=2;
int[] ......
Êý¾Ý¿â²Ù×÷ÏÖÔÚÊÇÏîÄ¿¿ª·¢µÄ¸ù±¾£¬Ñ§Ï°JavaÊ×ÏÈÓ¦¸Ãѧ»áÔõôÑùÁ¬½ÓÊý¾Ý¿â£¬ÓÃJavaÁ¬½ÓÊý¾Ý¿â¿É²»ÏñÓÃDelphiÕâÀ๤¾ßÄÇÑùÉ輸¸öÊôÐÔ¾ÍOK£¬Ëµ¼òµ¥Ò²¼òµ¥£¬Ëµ¸´ÔÓ£¬ÆäʵҲͦ¸´Ôӵģ¬¶øÇÒºÜÂé·³£¬Èç¹ûÊdzõѧ£¬¸ù±¾²»Äܱ£Ö¤µÚÒ»´Î¾ÍÁ¬½Ó³É¹¦£¬ÏÂÃæÒÔSQL Server 2000ΪÀý£¬ËµËµJavaÁ¬½ÓÊý¾Ý¿âµÄ»ù±¾·½·¨£¬Ò²¼Ç¼һÏÂÐĵá£
1¡¢Ï ......
Willow
ÓÉHuihoo Power¿ª·¢Ïêϸ¿Éµ½ÆäÖÐÎÄÖ÷Ò³²é¿´¡£
¸ü¶àWillowÐÅÏ¢
OpenWFE
OpenWFEÊÇÒ»¸ö¿ª·ÅÔ´ÂëµÄJava¹¤×÷Á÷ÒýÇæ¡£ËüÊÇÒ»¸öÍêÕûµÄÒµÎñ´¦Àí¹ÜÀíÌ×¼þ£ºÒ»¸öÒýÇ棬һ¸ö¹¤×÷ÁÐ±í£¬Ò»¸öWeb½çÃæºÍÒ»¸ö·´Ó¦Æ÷£¨´æ·Å×Ô¶¯´úÀí£©¡£Ëü¿ÉÒÔ¿ÉÒÔ¸úÄãµÄ³ÌÐòºÜºÃµÄ¸øºÏ¡£
¸ü¶àOpenWFEÐÅÏ¢
jBpm
jBpmÊÇÒ»¸ö ......
Ê×ÏÈÁ˽âÒ»ÏÂʲôÊÇQname
ÏÂÃæÊÇһƪдµÄ±È½ÏºÃµÄ¹ØÓÚQnameµÄ½éÉÜ£º
http://blog.csdn.net/fbysss/archive/2007/06/24/1664076.aspx
¿É¼ûQnameÖ÷ÒªÊÇ´¦ÀínamesapceµÄ£¬ÊÇÖ¸¾ßÓÐÌض¨Ç°×ºµÄxml element¡£¶øÇÒQname¾ÍÊÇQualifiedNameµÄËõд£¬ËùÒÔQnameÔÚC#ÖжÔÓ¦µÄÓ¦¸ÃÊÇXmlQualifiedNameÕâ¸öÀà ......