Invention Grant
- Patent Title: Automated generation of memory consumption aware code
-
Application No.: US14969231Application Date: 2015-12-15
-
Publication No.: US09971570B2Publication Date: 2018-05-15
- Inventor: Martin Sevenich , Sungpack Hong , Hassan Chafi
- Applicant: Oracle International Corporation
- Applicant Address: US CA Redwood Shores
- Assignee: ORACLE INTERNATIONAL CORPORATION
- Current Assignee: ORACLE INTERNATIONAL CORPORATION
- Current Assignee Address: US CA Redwood Shores
- Agency: Hickman Palermo Becker Bingham LLP
- Main IPC: G06F9/44
- IPC: G06F9/44

Abstract:
Techniques generate memory-optimization logic for concurrent graph analysis. A computer analyzes domain-specific language logic that analyzes a graph having vertices and edges. The computer detects parallel execution regions that create thread locals. Each thread local is associated with a vertex or edge. For each parallel region, the computer calculates how much memory is needed to store one instance of each thread local. The computer generates instrumentation that determines how many threads are available and how many vertices and edges will create thread locals. The computer generates tuning logic that determines how much memory is originally needed for the parallel region based on how much memory is needed to store the one instance, how many threads are available, and graph size. The tuning logic detects a memory shortage based on the original amount of memory needed exceeding how much memory is available and accordingly adjusts the execution of the parallel region.
Public/Granted literature
- US20170168779A1 AUTOMATED GENERATION OF MEMORY CONSUMPTION AWARE CODE Public/Granted day:2017-06-15
Information query