-
JVM中存储类信息的三个表格
摘自:《Java Performance》第三章
Internal Class Loading Data
The HotSpot VM maintains three hash tables to track class loading. The
SystemDictionary contains loaded classes, which maps a class name/class loader pair to a klassOop. The SystemDictionary contains both class name/initiating loader pairs and class name/defining loader pairs. Entries are currently only
removed at a safepoint. Safepoints are described in more detail in the “VM Operations and Safepoints” section later in the chapter. The
PlaceholderTable contains classes that are currently being loaded. It is used for ClassCircularityError checking and for parallel class loading for class loaders that support multithreaded class loading. The
LoaderConstraintTable tracks constraints for type safety checking. These hash tables are all guarded by a lock; in the HotSpot VM it is called the SystemDictionary_lock. In general, the load class phase in the HotSpot VM is serialized using
the Class loader object lock.
-
相关阅读:
怎么让图片居中显示?
上传代码出现弹出框“请确保已在git中配置您的user.name和user.email”解决方法
window.open()下载文件: 在当前页面打开方法
修改网站颜色为黑白 (100% 灰度)/全页置灰
ZMQ简单使用
CCXT
Python描述符详解
自定义序列的修改、散列和切片
使用__slots__类属性节省空间
QGraphicsView实现虚拟摇杆
-
原文地址:https://www.cnblogs.com/jubincn/p/3381096.html
Copyright © 2020-2023
润新知