< prev index next >
src/hotspot/share/gc/g1/g1EvacuationInfo.hpp
Print this page
rev 53385 : [mq]: 8217374-rename-g1evacuationinfo
*** 20,45 ****
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
! #ifndef SHARE_GC_G1_EVACUATIONINFO_HPP
! #define SHARE_GC_G1_EVACUATIONINFO_HPP
#include "memory/allocation.hpp"
! class EvacuationInfo : public StackObj {
uint _collectionset_regions;
uint _allocation_regions;
size_t _collectionset_used_before;
size_t _collectionset_used_after;
size_t _alloc_regions_used_before;
size_t _bytes_copied;
uint _regions_freed;
public:
! EvacuationInfo() : _collectionset_regions(0), _allocation_regions(0), _collectionset_used_before(0),
_collectionset_used_after(0), _alloc_regions_used_before(0),
_bytes_copied(0), _regions_freed(0) { }
void set_collectionset_regions(uint collectionset_regions) {
_collectionset_regions = collectionset_regions;
--- 20,45 ----
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
! #ifndef SHARE_GC_G1_G1EVACUATIONINFO_HPP
! #define SHARE_GC_G1_G1EVACUATIONINFO_HPP
#include "memory/allocation.hpp"
! class G1EvacuationInfo : public StackObj {
uint _collectionset_regions;
uint _allocation_regions;
size_t _collectionset_used_before;
size_t _collectionset_used_after;
size_t _alloc_regions_used_before;
size_t _bytes_copied;
uint _regions_freed;
public:
! G1EvacuationInfo() : _collectionset_regions(0), _allocation_regions(0), _collectionset_used_before(0),
_collectionset_used_after(0), _alloc_regions_used_before(0),
_bytes_copied(0), _regions_freed(0) { }
void set_collectionset_regions(uint collectionset_regions) {
_collectionset_regions = collectionset_regions;
*** 76,81 ****
size_t alloc_regions_used_before() { return _alloc_regions_used_before; }
size_t bytes_copied() { return _bytes_copied; }
uint regions_freed() { return _regions_freed; }
};
! #endif // SHARE_GC_G1_EVACUATIONINFO_HPP
--- 76,81 ----
size_t alloc_regions_used_before() { return _alloc_regions_used_before; }
size_t bytes_copied() { return _bytes_copied; }
uint regions_freed() { return _regions_freed; }
};
! #endif // SHARE_GC_G1_G1EVACUATIONINFO_HPP
< prev index next >