ü\Óü¿Æ¼¼Íø

 ÕÒ»ØÃÜÂë
 Á¢¼´×¢²á
mito
²é¿´: 2274|»Ø¸´: 2

[JAVA] ÉîÈëJVMÄںˡªÔ­Àí¡¢Õï¶ÏÓëÓÅ»¯ JAVAÐéÄâ»ú¸ßÐÔÄÜÓÅ»¯ÊÓÆµ½Ì³Ì

[¸´ÖÆÁ´½Ó]

8Íò

Ö÷Ìâ

608

»ØÌû

27Íò

»ý·Ö

¹ÜÀíÔ±

Rank: 9Rank: 9Rank: 9

»ý·Ö
275170
QQ
·¢±íÓÚ 2018-3-30 08:48:12 | ÏÔʾȫ²¿Â¥²ã |ÔĶÁģʽ
¿Î³ÌÃû³Æ:  ÉîÈëJVMÄںˡªÔ­Àí¡¢Õï¶ÏÓëÓÅ»¯ JAVAÐéÄâ»ú¸ßÐÔÄÜÓÅ»¯ÊÓÆµ½Ì³Ì JVM½Ì³Ì+PPT+×÷


¿Î³Ì¼ò½é:    

JAVAµÄ»ù´¡Æ½Ì¨JVM£¬Java×÷Ϊµ±½ñ×î»ðÈȵıà³ÌÓïÑÔÄÇôËüµÄ»ù´¡Æ½Ì¨Ò²Ïàµ±ÖØÒª£¬JVM²»½ö·þÎñÓÚJavaͬʱÏñClojure¡¢ScalaµÈÓïÑÔÒ²ÊÇÔËÐÐÔÚJVMƽ̨֮Éϵġ£ÄÚÈݽ²Á˼¸ÖÖËø»úÖÆ£ºÆ«ÏòËø¡¢ÇáÁ¿¼¶Ëø¡¢×ÔÐýËø¡£Òª¸üÉîÈëµÄѧϰÕâЩ»ù´¡ÐԵĶ«Î÷Ò»¶¨ÐèÒªÁ˽âµÄ¡£

----------------------¿Î³ÌĿ¼------------------------------

µÚÒ»¿Î
³õʶJVM
JVM·ÖÀà
JavaÓïÑԹ淶
JVM¹æ·¶
½éÉÜJVMµÄ»ù±¾ÖªÊ¶ºÍ·¢Õ¹ÀúÊ·£¬²¢½éÉÜÁËJavaÓïÑԹ淶ºÍJVM¹æ·¶¡£

µÚ¶þ¿Î
JVMÔËÐлúÖÆ¼ò½é
¶Ñ¡¢Õ»¡¢·½·¨ÇøµÈ
JVMÆô¶¯Á÷³Ì
ÄÚ´æÄ£ÐͺÍvolatileʵÀý
½âÊͺͱàÒëÔËÐеĸÅÄî
½éÉÜJVMµÄÄÚ²¿½á¹¹¡¢Æô¶¯Á÷³ÌÒÔ¼°ÄÚ´æÄ£ÐÍ¡£²¢½éÉÜJVM×Ö½ÚÂëµÄÖ´Ðз½Ê½¡£

µÚÈý¿Î
³£ÓÃJVM²ÎÊý
¶ÑµÄ·ÖÅä²ÎÊý
Õ»·ÖÅ估ʵÀý½²½â
serverÓëclientģʽ
µ÷ÊÔ¸ú×Ù²ÎÊý
²é¿´µ±Ç°JVM²ÎÊýµÄ·½·¨
JVM²ÎÊýµÄÉèÖ÷½·¨ÑÝʾ
½éÉܳ£ÓõÄJVM²ÎÊý£¬°üÀ¨ÄÚ´æ·ÖÅä¡¢¶ÑÕ»·ÖÅä¡¢ÐéÄâ»úÔËÐÐģʽÒÔ¼°µ÷ÊÔ¸ú×Ù²ÎÊý¡£

µÚËÄ¿Î
GCµÄËã·¨ºÍÖÖÀà
ÒýÓüÆÊý
±ê¼ÇÇå³ý
¸´ÖÆËã·¨
±ê¼ÇѹËõ
¿É´¥¼°ÐÔ
½éÉÜ·Ö´ú¡¢·ÖÇøµÄ˼Ïë·½·¨
±¾ÕÂÊÇÀíÂÛÐÔ½ÏÇ¿µÄÒ»Õ£¬Ö÷Òª½éÉÜGCµÄ»ù±¾Ëã·¨ºÍ˼Ï룬±¾ÕÂ×÷ΪÏÂÒ»Õ½ڵÄǰÐò¿Î³Ì¡£

µÚÎå¿Î
GC¿ØÖƲÎÊý
Serial ParNewµÈGC²ÎÊý
GCµÄ²ÎÊý´îÅäʵÀý·ÖÎö
¶ÔG1½øÐнéÉÜ˵Ã÷
½éÉÜGCµÄÉèÖòÎÊý£¬²¢·ÖÎöÏà¹ØµÄ°¸ÁС£

µÚÁù¿Î
Àà×°ÔØ
class×°ÔØÁ÷³Ì
ClassLoaderģʽ
ClassLoaderµÄʹÓÃʵÀý·ÖÎö
ÈÈÌæ»»Àý×Ó
Ïêϸ½éÉÜClassLoaderµÄÔ­ÀíºÍÓ¦Ó᣷ÖÎö2¸ö°¸Àý£¬ËµÃ÷ClassLoaderµÄʹÓá£

µÚÆß¿Î
ÐÔÄÜ¼à¿Ø¹¤¾ß
Ïß³ÌËÀËø·ÖÎö
OOM·ÖÎö
½éÉܳ£ÓõÄJVMÕï¶ÏºÍ·ÖÎö¹¤¾ß£¬²¢ÒÔËÀËøºÍOOMΪÀý£¬Õ¹Ê¾ÕâЩ¹¤¾ßµÄʹÓá£

µÚ°Ë¿Î
·ÖÎöJava¶Ñ
MATµÄʹÓð¸Àý
Jvisualvm½éÉÜʹÓÃ
ÑÝʾMATµÄʹÓ÷½·¨
½éÉÜÁËJava¶ÑµÄ·ÖÎö·½·¨£¬ÒÔÒ»¸öʵÀýΪ»ù´¡£¬Õ¹Ê¾¶Ô¶ÑµÄ·ÖÎö¹ý³Ì¡£

µÚ¾Å¿Î
Ëø
baiseËø
ÇáÁ¿¼¶Ëø
×ÔÐýËø
JVMÖмÓËøµÄʵÏÖ¹ý³ÌÔ´Âë·ÖÎö
½éÉÜJVMÖжԶàÏß³ÌËøµÄʵÏÖ¡£

µÚÊ®¿Î
classÎļþ½á¹¹Óë°¸Àý½éÉÜ
½éÉÜJVM¹æ·¶ÖеÄ×îÖØÒªµÄÄÚÈÝ¡ª¡ªClassÎļþ½á¹¹£¬Í¬Ê±½éÉÜASM¿âµÄʹÓÃÒÔ¼°¶ÔclassÎļþµÄÐ޸ġ£

µÚʮһ¿Î
×Ö½ÚÂëÖ´ÐÐ
°¸ÀýÒÔ¼°javap
ASM¿â½éÉÜÓëʹÓÃ
JIT¼°Ïà¹Ø²ÎÊý
½éÉÜJVMµÄ×Ö½ÚÂëÒÔ¼°·´»ã±à·½·¨£¬Í¬Ê±½éÉÜJITÏà¹ØµÄ²ÎÊýºÍÓ¦Óá£

ÏÂÔØµØÖ·£º
Óοͣ¬Èç¹ûÄúÒª²é¿´±¾ÌûÒþ²ØÄÚÈÝÇë»Ø¸´

¸ü¶àÌû×ÓÍÆ¼ö

»Ø¸´

ʹÓõÀ¾ß ¾Ù±¨

0

Ö÷Ìâ

305

»ØÌû

669

»ý·Ö

¸ß¼¶»áÔ±

Rank: 4

»ý·Ö
669
·¢±íÓÚ 2018-4-17 04:48:21 | ÏÔʾȫ²¿Â¥²ã
88888888888888888888888888
»Ø¸´

ʹÓõÀ¾ß ¾Ù±¨

0

Ö÷Ìâ

2Íò

»ØÌû

4Íò

»ý·Ö

½ûÖ¹·ÃÎÊ

»ý·Ö
41607
·¢±íÓÚ 2021-10-12 17:31:08 | ÏÔʾȫ²¿Â¥²ã
Ìáʾ: ×÷Õß±»½ûÖ¹»òɾ³ý ÄÚÈÝ×Ô¶¯ÆÁ±Î
»Ø¸´

ʹÓõÀ¾ß ¾Ù±¨

QQ|Archiver|ÊÖ»ú°æ|ü\Óü¿Æ¼¼Íø

GMT+8, 2025-11-30 11:57 , Processed in 0.185621 second(s), 26 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

¿ìËٻظ´ ·µ»Ø¶¥²¿ ·µ»ØÁбí