发明名称 System and method for supporting smart buffer management in a distributed data grid
摘要 A system and method can support smart buffer management in a distributed data grid. A buffer manager in the distributed data grid can provide a plurality of buffers in a buffer pool in the distributed data grid, wherein the plurality of buffers are arranged in different generations and each buffer operates to contain one or more objects. The buffer manager can prevent a garbage collector from directly recycling the memory associated with each individual object in the buffer pool, and can allow the garbage collecting of one or more objects in one or more buffers in a particular generation to be performed together.
申请公布号 US9548912(B2) 申请公布日期 2017.01.17
申请号 US201213671479 申请日期 2012.11.07
申请人 ORACLE INTERNATIONAL CORPORATION 发明人 Helin Charlie;Falco Mark
分类号 G06F11/16;H04L12/26;G06F17/30;H04L29/08;G06F11/20;H04L12/24 主分类号 G06F11/16
代理机构 Tucker Ellis LLP 代理人 Tucker Ellis LLP
主权项 1. A method for managing buffers in a distributed data grid, comprising: providing, a buffer manager, configured to manage a buffer pool associated with a memory; receiving a first request for a first buffer; in response to receiving said first request, using said buffer manager to allocate a first generation portion of said memory associated with said buffer pool in which to create said first buffer; receiving from requestors a first plurality of requests for buffers and creating first generation buffers in the first generation portion of said memory in response to said first plurality of requests; after said first generation portion of said memory is full, using said buffer manager to allocate a second generation portion of said memory associated with said buffer pool; receiving from requestors a second plurality of requests for buffers and creating second generation buffers in the second generation portion of said memory in response to said second plurality of requests; after said second generation portion of said memory is full, using said buffer manager to allocate a subsequent generation portion of said memory associated with said buffer pool; receiving from requestors a subsequent plurality of requests for buffers and creating subsequent generation buffers in the subsequent generation portion of said memory in response to said subsequent plurality of requests; recycling said first, second, and subsequent generation portions of said memory according to seniority by garbage collecting said first generation buffers, prior to garbage collecting said second generation buffers, and garbage collecting said second generation buffers, prior to garbage collecting said subsequent generation buffers.
地址 Redwood Shores CA US