MECHANISM FOR OPTIMIZING FUNCTION EXECUTION

Patent №

US 8,020,155

Granted

2011-09-13

Filed 2006

Owner

SUN MICROSYSTEMS, INC.

Lab

AI components

1

hardware

Assignment

Recorded

Dataset

AIPD

2023_r1 edition

Application

11605540

A mechanism is provided for managing the referencing of at least two versions of a function. A first version is a single threaded version that does not ensure multi-thread safety. A second version is a multi threaded version that does ensure multi-thread safety. The mechanism determines whether a set of executable code (e.g. a program) is currently executing in single-threaded mode or multi-threaded mode. If the executable code is executing in single-threaded mode, then the mechanism causes the executable code to reference the first version of the function. If the executable code is executing in multi-threaded mode, then the mechanism causes the executable code to reference the second version of the function. By doing so, the mechanism ensures that the additional overhead of ensuring multi-thread safety is incurred only when it is needed. In this manner, the mechanism makes execution of the function more optimal.

AI classification

AI hardware1.00
Knowledge representation0.02
Natural language0.01
Planning0.00
Evolutionary computation0.00
Speech0.00
Vision0.00
Machine learning0.00

Ownership

SUN MICROSYSTEMS, INC.

assignment · 186280009

Assignors

LU, JIWEI, CHEN, WILLIAM YU-WEI

On an employer assignment, the assignors are typically the inventors.

© 2026 NYSGPT2525 LLC