Invention Grant
- Patent Title: Selective speculative class-based optimization
- Patent Title (中): 选择性推测基于类的优化
-
Application No.: US14200239Application Date: 2014-03-07
-
Publication No.: US09250865B2Publication Date: 2016-02-02
- Inventor: Mark G. Stoodley , Vijay Sundaresan
- Applicant: INTERNATIONAL BUSINESS MACHINES CORPORATION
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Law Office of Jim Boice
- Main IPC: G06F9/44
- IPC: G06F9/44 ; G06F9/45 ; G06F13/00 ; G06F9/455

Abstract:
A method, apparatus, and/or computer program product performs selective speculative class-based optimization through the use of a type propagation analysis of class. Responsive to a determination that the type of class is not a fixed type, a determination is made as to whether the class is sub-classed. Responsive to a determination the class is not sub-classed, a virtual synthetic property method is created. The virtual synthetic property method is accommodated in an enhanced java virtual machine using a stack frame type. The stack frame type has associated metadata for throwing an exception and an invisibility property. The virtual synthetic property method, along with a virtual guard, is inlined, and a slow path is created. The slow path handles executions of the virtual synthetic property method when sub-classes of the class, which override an implementation of the virtual synthetic property method, are loaded in the future.
Public/Granted literature
- US20140325493A1 SELECTIVE SPECULATIVE CLASS-BASED OPTIMIZATION Public/Granted day:2014-10-30
Information query