Invention Grant
US09411566B2 System and method for removal of arraycopies in java by cutting the length of arrays
有权
通过切割数组的长度来删除java中的数组复制的系统和方法
- Patent Title: System and method for removal of arraycopies in java by cutting the length of arrays
- Patent Title (中): 通过切割数组的长度来删除java中的数组复制的系统和方法
-
Application No.: US12963434Application Date: 2010-12-08
-
Publication No.: US09411566B2Publication Date: 2016-08-09
- Inventor: Fredrik Öhrström
- Applicant: Fredrik Öhrström
- Applicant Address: US CA Redwood Shores
- Assignee: ORACLE INTERNATIONAL CORPORATION
- Current Assignee: ORACLE INTERNATIONAL CORPORATION
- Current Assignee Address: US CA Redwood Shores
- Agency: Tucker Ellis LLP
- Main IPC: G06F9/45
- IPC: G06F9/45

Abstract:
A system and method for removal of array copies in Java by reusing a source array for the target array and potentially cutting the length of the source array. In accordance with an embodiment, the system comprises physical computers or similar computing devices; a computing or virtual execution environment; a virtual machine that includes a compiler and memory spaces for Java application bytecode and storage for generated machine code; and wherein the compiler performs a static analysis of the code wherever any array copy is found, and determines if the array copy can be replaced with a reuse of the source array as the target array, potentially followed by a cut operation, and if so modifies the generated machine code accordingly.
Public/Granted literature
- US20120151458A1 SYSTEM AND METHOD FOR REMOVAL OF ARRAYCOPIES IN JAVA BY CUTTING THE LENGTH OF ARRAYS Public/Granted day:2012-06-14
Information query