发明授权
- 专利标题: Sharing data among isolated applications
- 专利标题(中): 在隔离应用程序之间共享数据
-
申请号: US11482603申请日: 2006-07-06
-
公开(公告)号: US07840967B1公开(公告)日: 2010-11-23
- 发明人: Grzegorz Czajkowski , Laurent Daynes , Michal Wegiel
- 申请人: Grzegorz Czajkowski , Laurent Daynes , Michal Wegiel
- 申请人地址: US CA Redwood City
- 专利权人: Oracle America, Inc.
- 当前专利权人: Oracle America, Inc.
- 当前专利权人地址: US CA Redwood City
- 代理机构: Osha • Liang LLP
- 主分类号: G06F13/00
- IPC分类号: G06F13/00
摘要:
A technique for allowing isolated JAVA applications (“isolates”) to share data between themselves is disclosed. According to one aspect, a shared object region, to which multiple isolates may attach, is defined in memory. A shared class loader associated with the region is stored in the region in conjunction with the region's creation. Isolates that can access the region can invoke that loader. The region only comprises objects whose type is defined by a bootstrap class loader or the region's associated shared class loader. Runtime representations of classes defined by the shared class loader are stored in the region. Thus, the types of objects stored in the region are known to all isolates that attach to the region. Isolates attached to the region may enter the context of the region to access objects stored therein. Within the context of a shared object region, all allocation instructions automatically allocate to that region.
信息查询