Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

JavaµÄÀ¬»ø»ØÊÕ£¨Garbage Collection£©»úÖÆ

Ò»¡£Ë­ÔÚ×öGarbage Collection£¿
    Ò»ÖÖÁ÷ÐеÄ˵·¨£ºÔÚC++
ÀÊÇϵͳÔÚ×öÀ¬»ø»ØÊÕ£»¶øÔÚJava
ÀÊÇJava
×ÔÉíÔÚ×ö¡£
    ÔÚC++
À
ÊÍ·ÅÄÚ´æÊÇÊÖ¶¯´¦ÀíµÄ£¬ÒªÓÃdeleteÔËËã·ûÀ´ÊÍ·Å·ÖÅäµÄÄÚ´æ¡£ÕâÊÇÁ÷ÐеÄ˵·¨¡£È·ÇеØ˵£¬ÊÇÓ¦ÓÃÈÏΪ²»ÐèҪijʵÌåʱ£¬¾ÍÐèÓÃdelete¸æËßϵͳ£¬¿É
ÒÔ»ØÊÕÕâ¿é¿Õ¼äÁË¡£Õâ¸öÒªÇ󣬶ԱàÂëÕßÀ´Ëµ£¬ÊǼþºÜÂé·³¡¢ºÜÄÑ×öµ½µÄÊ¡£Ëæ±ãÉÏÄĸöBBS£¬ÔÚC/C++°æ¿éÀï×ÜÊÇÓÐÒ»´ó¶Ñ¹ØÓÚÄÚ´æй©µÄ»°Ìâ¡£
    Java²ÉÓÃÒ»ÖÖ²»Í¬µÄ£¬ºÜ·½±ãµÄ·½·¨£ºGarbage Collection.À¬»ø»ØÊÕ»úÖÆ·ÅÔÚJVMÀï¡£JVMÍêÈ«¸ºÔðÀ¬»ø»ØÊÕÊÂÒË£¬Ó¦ÓÃÖ»ÔÚÐèҪʱÉêÇë¿Õ¼ä£¬¶øÔÚÅ×Æú¶ÔÏóʱ²»±Ø¹ØÐÄ¿Õ¼ä»ØÊÕÎÊÌâ¡£
    ¶þ¡£¶ÔÏóÔÚɶʱ±»¶ªÆú£¿
    ÔÚC++Àµ±¶ÔÏóÀ뿪Æä×÷ÓÃÓòʱ£¬¸Ã¶ÔÏó¼´±»Ó¦ÓÃÅ×Æú¡£
    ÊǶÔÏóµÄÉúÃüÆÚ²»ÔÙÓëÆä×÷ÓÃÓòÓйأ¬¶ø½ö½öÓëÒýÓÃÓйء£
    JavaµÄÀ¬»ø»ØÊÕ»úÖÆÒ»°ã°üº¬½üÊ®ÖÖËã·¨¡£¶ÔÕâЩËã·¨ÖеĶàÊý£¬ÎÒÃDz»±ØÓèÒÔ¹ØÐÄ¡£Ö»ÓÐÆäÖÐ×î¼òµ¥µÄÒ»¸ö£ºÒýÓüÆÊý·¨£¬Óë±àÂëÓйء£
    Ò»¸ö¶ÔÏ󣬿ÉÒÔÓÐÒ»¸ö»ò¶à¸öÒýÓñäÁ¿Ö¸ÏòËü¡£µ±Ò»¸ö¶ÔÏó²»ÔÙÓÐÈκÎÒ»¸öÒýÓñäÁ¿Ö¸ÏòËüʱ£¬Õâ¸ö¶ÔÏó¾Í±»Ó¦ÓÃÅ×ÆúÁË¡£»òÕß˵£¬Õâ¸ö¶ÔÏó¿ÉÒÔ±»À¬»ø»ØÊÕ»úÖÆ»ØÊÕÁË¡£
    Õâ¾ÍÊÇ˵£¬µ±²»´æÔÚ¶Ôij¶ÔÏóµÄÈκÎÒýÓÃʱ£¬¾ÍÒâζ×Å£¬Ó¦ÓøæËßJVM£ºÎÒ²»ÒªÕâ¸ö¶ÔÏó£¬Äã¿ÉÒÔ»ØÊÕÁË¡£
    JVMµÄÀ¬»ø»ØÊÕ»úÖƶԶѿռä×öʵʱ¼ì²â¡£µ±·¢ÏÖij¶ÔÏóµÄÒýÓüÆÊýΪ0ʱ£¬¾Í½«¸Ã¶ÔÏóÁÐÈë´ý»ØÊÕÁбíÖС£µ«ÊÇ£¬²¢²»ÊÇÂíÉÏÓèÒÔÏú»Ù¡£
    Èý¡£¶ªÆú¾Í±»»ØÊÕ£¿
    ¸Ã¶ÔÏó±»È϶¨ÎªÃ»ÓдæÔڵıØÒªÁË£¬ÄÇôËüËùÕ¼ÓõÄÄÚ´æ¾Í¿ÉÒÔ±»ÊÍ·Å¡£±»»ØÊÕµÄÄÚ´æ¿ÉÒÔÓÃÓÚºóÐøµÄÔÙ·ÖÅä¡£
    µ«ÊÇ£¬²¢²»ÊǶÔÏó±»Å×Æúºóµ±¼´±»»ØÊյġ£JVM½ø³Ì×ö¿Õ¼ä»ØÊÕÓнϴóµÄϵͳ¿ªÏú¡£Èç¹ûÿµ±Ä³Ó¦Óýø³Ì¶ªÆúÒ»¸ö¶ÔÏ󣬾ÍÁ¢¼´»ØÊÕËüµÄ¿Õ¼ä£¬ÊƱػáʹÕû¸öϵͳµÄÔËתЧÂʷdz£µÍÏ¡£
    Ç°Ãæ˵¹ý£¬JVMµÄÀ¬»ø»ØÊÕ»úÖÆÓжà¸öËã·¨¡£³ýÁËÒýÓüÆÊý·¨ÊÇÓÃÀ´Åж϶ÔÏóÊÇ·ñÒѱ»Å×ÆúÍ⣬ÆäËüËã·¨ÊÇÓÃÀ´È·¶¨ºÎʱ¼°ÈçºÎ×ö»ØÊÕ¡£JVMµÄÀ¬»ø»ØÊÕ»úÖÆÒªÔÚʱ¼äºÍ¿Õ¼äÖ®¼ä×ö¸öƽºâ¡£
    Òò´Ë£¬ÎªÁËÌá¸ßϵͳЧÂÊ£¬À¬»ø»ØÊÕÆ÷ͨ³£Ö»ÔÚÂú×ãÁ½¸öÌõ¼þʱ²ÅÔËÐУº¼´ÓжÔÏóÒª»ØÊÕÇÒϵͳÐèÒª»


Ïà¹ØÎĵµ£º

IBM FileNet Content Java API ¼ò½é

2008 Äê 6 ÔÂ 24 ÈÕ
Ô­ÎĵØÖ·£º http://www.ibm.com/developerworks/cn/data/library/techarticles/dm-0806wangys/
±¾ÎĽéÉÜ IBM FileNet P8 4.0 Platform ÌṩµÄ Content Java API¡£Ê×ÏÈ¶Ô FileNet P8 Content Engine ºÍ API ½øÐиÅÒª½éÉÜ, ²¢ËµÃ÷ÁËһЩ»ù±¾¸ÅÄËæºóÏêϸ½éÉÜÁË FileNet Content EngineÌṩµÄ»ùÓÚ EJB ......

java»ñµÃÍøÒ³ÄÚÈÝ

Íøַץȡ Java API ¸ÅÊö
 
http://code.google.com/intl/zh-CN/appengine/docs/java/urlfetch/usingjavanet.html
App Engine Ó¦ÓóÌÐò¿ÉÒÔÓëÆäËûÓ¦ÓóÌÐò½øÐÐͨÐÅ»òͨ¹ýץȡÍøÖ··ÃÎÊÍøÂçÉϵÄÆäËû×ÊÔ´¡£Ó¦ÓóÌÐò¿ÉÒÔʹÓÃÍøַץȡ·þÎñÀ´·¢³ö HTTP ºÍ HTTPS ÇëÇó²¢½ÓÊÕÏìÓ¦¡£³öÓÚЧÂʺÍÀ©Õ¹ÐÔ¿¼ÂÇ£¬Íøַץȡ·þÎñʹÓà G ......

JAVA»­³öwavÒôƵ²¨ÐÎͼ


×ֺţº´ó ÖРС
import java.awt.Graphics;
import java.io.File;
import javax.sound.sampled.AudioFormat;
import javax.sound.sampled.AudioInputStream;
import javax.sound.sampled.AudioSystem;
import javax.sound.sampled.DataLine;
import javax.sound.sampled.SourceDataLine;
public class M ......

javaÒì³£´¦Àí£¨1£©

Äã¾õµÃ×Ô¼ºÊÇÒ»¸öJavaר¼ÒÂð£¿ÊÇ·ñ¿Ï¶¨×Ô¼ºÒѾ­È«ÃæÕÆÎÕÁËJavaµÄÒì³£´¦Àí»úÖÆ£¿ÔÚÏÂÃæÕâ¶Î´úÂëÖУ¬ÄãÄܹ»Ñ¸ËÙÕÒ³öÒì³£´¦ÀíµÄÁù¸öÎÊÌâÂð£¿
OutputStreamWriter out = ...
java.sql.Connection conn = ...
try { // ¢É
Statement stat = conn.createStatement();
ResultSet rs = stat.executeQuery(
"selec ......

PHPÄ£ÄâʵÏÖJavaµÄendsWith

      JavaÖеÄstartsWithºÍendsWith·½·¨£¬ÔÚfilterµÄ¹¦ÄÜʵÏÖÖкܷ½±ã£¬PHP¿ÉÒÔÓÃstrncmp()
ʵÏÖstartsWith£¬µ«ÊÇÎÞ·¨ÊµÏÖendsWith£¬ÓÐЩÈË»áÓÃÕýÔòÀ´ÊµÏÖ£¬µ«´ó¶àÊýÈ˶¼²»Ï²»¶ÕýÔò±í´ïʽµÄ²Ù×÷¡£
      ÕâÀïÎÒͨ¹ýÒ»¸ö½Ðsubstr_compareµÄ·½·¨ÊµÏÖ(ͬʱËûÒ²ÄÜʵÏÖsta ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ