Patent ID: 11947531
Assignee: ORACLE INTERNATIONAL CORPORATION
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 14:
15. One or more non-transitory computer-readable media storing instructions that, when executed by one or more processors, cause:
configuring, in a polyglot database management system (DBMS) that contains a guest language runtime environment, a database buffer that the guest language runtime environment does not manage;
invoking, in the polyglot DBMS, logic that is defined in a guest language to retrieve, into the database buffer that the guest language runtime environment does not manage, a value stored in a database in the polyglot DBMS;
analyzing, after said invoking the logic, the logic to detect that usage of the retrieved value cannot occur after the retrieved value is overwritten in the database buffer that the guest language runtime environment does not manage; and
executing, in response to detecting that usage of the retrieved value cannot occur after the retrieved value is overwritten in the database buffer, the logic without, after the retrieved value is overwritten in the database buffer, retaining a retained copy of the retrieved value in a memory region that the guest language runtime environment manages.