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

JAVAÐéÄâ»úµÄÌåϵ½á¹¹

         
ÔÚJava
ÐéÄâ»úµÄ¹æ·¶Öж¨ÒåÁËһϵÁеÄ×Óϵͳ¡¢ÄÚ´æÇøÓò¡¢Êý¾ÝÀàÐͺÍʹÓÃÖ¸ÄÏ¡£ÕâЩ×é¼þ¹¹³ÉÁËJava
ÐéÄâ»úµÄÄÚ²¿½á¹¹£¬ËûÃDz»½ö½öΪJava
ÐéÄâ»úµÄʵÏÖÌṩÁËÇåÎúµÄÄÚ²¿½á¹¹£¬¸üÊÇÑϸñ¹æ¶¨ÁËJava
ÐéÄâ»úʵÏÖµÄÍⲿÐÐΪ¡£ 
    
ÿһ¸öJava
ÐéÄâ»ú¶¼ÓÉÒ»¸öÀà¼ÓÔØÆ÷×Óϵͳ£¨class loader subsystem
£©£¬¸ºÔð¼ÓÔسÌÐòÖеÄÀàÐÍ£¨Ààclass
ºÍ½Ó¿Úinterface
£©£¬²¢¸³ÓèΨһµÄÃû×Ö¡£Ã¿Ò»¸öJava
ÐéÄâ»ú¶¼ÓÐÒ»¸öÖ´ÐÐÒýÇæ
£¨execution engine
£©¸ºÔðÖ´Ðб»¼ÓÔØÀàÖаüº¬µÄÖ¸Áî¡£
    
³ÌÐòµÄÖ´ÐÐÐèÒªÒ»¶¨µÄÄÚ´æ¿Õ¼ä£¬Èç×Ö½ÚÂë¡¢±»¼ÓÔØÀàµÄÆäËû¶îÍâÐÅÏ¢¡¢³ÌÐòÖеĶÔÏó¡¢·½·¨µÄ²ÎÊý¡¢·µ»ØÖµ¡¢±¾µØ±äÁ¿¡¢´¦ÀíµÄÖмä±äÁ¿µÈµÈ¡£Java
ÐéÄâ»ú½« ÕâЩÐÅϢͳͳ±£´æÔÚÊý¾ÝÇø
£¨data area
£©
ÖС£ËäȻÿ¸öJava
ÐéÄâ»úµÄʵÏÖÖж¼°üº¬Êý¾ÝÇø£¬µ«ÊÇJava
ÐéÄâ»ú¹æ·¶¶ÔÊý¾ÝÇøµÄ¹æ¶¨È´·Ç³£µÄ³éÏó¡£Ðí¶à½á¹¹ÉϵÄϸ½Ú²¿·Ö¶¼Áô¸øÁË Java
ÐéÄâ»úʵÏÖÕß×Ô¼º·¢»Ó
¡£²»Í¬Java
ÐéÄâ»úʵÏÖÉϵÄÄÚ´æ½á¹¹Ç§²îÍò±ð¡£Ò»²¿·ÖʵÏÖ¿ÉÄÜÕ¼ÓúܶàÄڴ棬¶øÆäËûÒÔÏ¿ÉÄÜÖ»Õ¼ÓúÜÉÙµÄÄڴ棻һЩʵÏÖ¿É ÄÜ»áʹÓÃÐéÄâÄڴ棬¶øÆäËüµÄÔò²»Ê¹Óá£ÕâÖֱȽϾ«Á¶µÄJava
ÐéÄâ»úÄÚ´æ¹æÔ¼£¬¿ÉÒÔʹµÃJava
ÐéÄâ»ú¿ÉÒÔÔڹ㷺µÄƽ̨Éϱ»ÊµÏÖ¡£
    
Êý¾ÝÇøÖеÄÒ»²¿·ÖÊÇÕû¸ö³ÌÐò¹²ÓУ¬ÆäËû²¿·Ö±»µ¥¶ÀµÄÏ߳̿ØÖÆ¡£
ÿһ¸öJava
ÐéÄâ»ú¶¼°üº¬·½·¨Çø£¨method area
£©ºÍ¶Ñ£¨heap
£©
£¬ËûÃǶ¼±»Õû¸ö³ÌÐò¹²Ïí
¡£Java
ÐéÄâ»ú¼ÓÔز¢½âÎöÒ»¸öÀàÒԺ󣬽«´ÓÀàÎļþÖнâÎö³öÀ´µÄÐÅÏ¢±£´æÓë·½·¨ÇøÖС£³ÌÐòÖ´ÐÐʱ´´½¨µÄ ¶ÔÏ󶼱£´æÔÚ¶ÑÖÐ
¡£ 
    
µ±Ò»¸öÏ̱߳»´´½¨Ê±£¬»á±»·ÖÅäÖ»ÊôÓÚËü×Ô¼ºµÄPC
¼Ä´æÆ÷“pc register”
£¨³ÌÐò¼ÆÊýÆ÷£©ºÍJava
¶ÑÕ»£¨Java stack
£©
¡£µ±Ï̲߳»µ÷Óñ¾µØ·½·¨Ê±£¬PC
¼Ä´æÆ÷Öб£´æÏß³ÌÖ´ÐеÄÏÂÒ»ÌõÖ¸Áî¡£Java
¶ÑÕ»±£´æÁËÒ»¸öÏ̵߳÷Ó÷½·¨Ê±µÄ״̬£¬°üÀ¨±¾µØ±äÁ¿¡¢µ÷Ó÷½·¨µÄ
²ÎÊý¡¢·µ»ØÖµ¡¢´¦ÀíµÄÖмä±äÁ¿¡£µ÷Óñ¾µØ·½·¨Ê±µÄ״̬±£´æÔÚ±¾µØ·½·¨¶ÑÕ»ÖУ¨native
method stacks
£©£¬¿ÉÄÜÔټĴæÆ÷»òÕßÆäËû·Çƽ̨¶ÀÁ¢µÄÄÚ´æÖÐ
¡£
     Java
¶ÑÕ»ÓжÑÕ»¿é£¨stack frames (or
frames)
£©×é³É¡£¶ÑÕ»¿é°üº¬Java
·½·¨µ÷ÓõÄ״̬¡£µ±Ò»¸öÏ̵߳÷ÓÃÒ»¸ö·½·¨Ê±£¬Java
ÐéÄâ»ú»á


Ïà¹ØÎĵµ£º

·Ç³£¾­µäµÄjavaÃæÊÔ

ÃæÊÔ¹Ù£ºÊìϤÄÄÖÖÓïÑÔ
ӦƸÕߣºJava¡£
ÃæÊÔ¹Ù£ºÖªµÀʲô½ÐÀàô
ӦƸÕߣºÎÒÕâÈËʵÔÚ£¬¹¤×÷ŬÁ¦£¬²»ÖªµÀʲô½ÐÀÛ
Ãæ
ÊÔ¹Ù£ºÖªµÀʲôÊÇ°ü?
ӦƸÕߣºÎÒÕâÈËʵÔÚ? ƽ³£²»´ø°ü Ò²²»Óù«Ë¾×¼±¸ÁË
ÃæÊÔ¹Ù£ºÖªµÀʲôÊǽӿÚÂð?
ӦƸÕߣºÎÒÕâ¸öÈ˹¤
×÷ÈÏÕæ¡£´ÓÀ´²»ÕÒ½è¿Ú͵ÀÁ
ÃæÊÔ¹Ù£ºÖªµÀʲôÊǼ̳Ðô
ӦƸÕߣºÎÒ ......

Linux Java»·¾³ÅäÖð²×°

Ò»¡¢°²×°JDK
°²×°°üÃûΪ£ºjdk-1_5_0_18-linux-i586.rpm.bin
°²×°²½Ö裺
1. ÒÔrootÉí·ÝµÇ¼Linux²Ù×÷ϵͳ
2. ½«jdk-1_5_0_18-linux-i586.rpm.bin°²×°°üÉÏ´«µ½/tmpĿ¼ÏÂ, ¼ì²âÈ·±£jdk-1_5_0_18-linux-i586.rpm.binÓпÉÖ´ÐÐȨÏÞ£»
Èç¹ûjdk-1_5_0_18-linux-i586.rpm.binûÓпÉÖ´ÐÐȨÏÞ£¬¿ÉʹÓÃÒ»ÏÂÃüÁîÌí¼Ó
#c ......

java Êý×ÖÖ¤ÊéÐÅÏ¢µÄ»ñȡʵÀý javaѧϰ±Ê¼Ç(2)

ÓÃjavaÌṩµÄapiʵÏÖ´ÓÖ¤ÊéÎļþ(±¾ÊµÀýʵÑé¶ÔÏóΪ*.cerÎļþ)ÖлñÈ¡ÓÐЧÐÅÏ¢µÄ·½·¨..
public static X509Certificate getCert(String fileName) throws Exception {//´ÓÒ»¸öÓÐЧµÄÖ¤ÊéÎļþÀ´´´½¨Ö¤Êé..
InputStream inStream = new FileInputStream(fileName);
CertificateFactory cf = CertificateFactory.get ......

javaÊý¾Ý½á¹¹Ö®Á´±íLinkedList

Á´±íLinkedListÊÇÓÉÈô¸É¸ö³ÆΪ½áµãµÄ¶ÔÏó×é³ÉµÄÒ»ÖÖÊý¾Ý½á¹¹£¬Ã¿¸ö½áµãº¬ÓÐÒ»¸öÊý¾ÝºÍÏÂÒ»¸ö½áµãµÄÒýÓ㬻òº¬ÓÐÒ»¸öÊý¾Ý²¢º¬ÓÐÉÏÒ»¸ö½áµãµÄÒýÓúÍÏÂÒ»¸ö½áµãµÄÒýÓà  LinkedListÀàÔÚjava.util°üÖÐ
1.¹¹Ôì·½·¨£ºLinkedList()
2.³£Ó÷½·¨
     public boolean add(Object o)£ºÏòÁ´±íÌí¼ÓÒ»¸ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ