RFR: 8066771: Refactor VM GC operations caused by allocation failure
marcus.larsson at oracle.com
Wed Feb 4 15:30:17 UTC 2015
Still looking for reviews for this old forgotten change.
On 08/12/14 12:39, Marcus Larsson wrote:
> I would like reviews for the following patch, cleaning up and
> refactoring VM GC operations for failed allocations.
> Different GCs have specialized VM_GC_Operations for collecting due to
> allocation failure. Part of this code is duplicated. The patch adds a
> VM_CollectForAllocation class that removes this duplicated code and
> handles the allocation size and result for such operations. It also
> serves as a common base where tracing can easily be added for these
> operations, regardless of which GC is used.
> In addition to the above refactoring, the patch also cleans up around
> the VM GC operations. These changes include:
> * Indentation and whitespace fixes
> * Change 'unsigned int' to 'uint'
> * Change some ints to uint, where it makes more sense
> (gclocker_stalled_count for example)
> jprt, local jtreg (test/gc)
More information about the hotspot-gc-dev