Invention Grant
US07665075B1 Methods for sharing of dynamically compiled code across class loaders by making the compiled code loader reentrant
有权
通过使编译代码加载程序可重入的方式共享跨类加载器的动态编译代码
- Patent Title: Methods for sharing of dynamically compiled code across class loaders by making the compiled code loader reentrant
- Patent Title (中): 通过使编译代码加载程序可重入的方式共享跨类加载器的动态编译代码
-
Application No.: US10849468Application Date: 2004-05-18
-
Publication No.: US07665075B1Publication Date: 2010-02-16
- Inventor: Laurent Daynes , Grzegorz Czajkowski
- Applicant: Laurent Daynes , Grzegorz Czajkowski
- Applicant Address: US CA Santa Clara
- Assignee: Sun Microsystems, Inc.
- Current Assignee: Sun Microsystems, Inc.
- Current Assignee Address: US CA Santa Clara
- Agency: Martine Penilla & Gencarella, LLP
- Main IPC: G06F9/45
- IPC: G06F9/45

Abstract:
A method for sharing dynamically compiled code between different class loaders is provided. In this method, loader-reentrant compiled code is produced from bytecodes by generating native code implementing a class initialization barrier when compiling bytecodes that require a class to be initialized, by generating native code implementing a link resolution barrier when compiling bytecodes that require a symbolic link to be resolved, and by generating code to retrieve loader-dependent data from a loader-dependent table when compiling bytecodes that use data computed from a resolved symbolic link.
Information query