phobos-next v0.3.8 (2020-08-04T23:11:21Z)
Home
Dub
Repo
SmallPool
segregated_gc
Small pool of pages.
struct
SmallPool (
uint
sizeClass
bool
pointerFlag
)
if
(
sizeClass
>=
smallSizeClasses
[0]
) {
alias
Page
=
SmallPage
!(
sizeClass
)
;
this
(size_t pageTableCapacity);
void
*
allocateNext
();
Array
!(
SmallPageTable
!
sizeClass
)
pageTables
;
size_t
slotIndex
;
}
Constructors
this
this
(size_t pageTableCapacity)
Undocumented in source.
Members
Aliases
Page
alias
Page
=
SmallPage
!(
sizeClass
)
Undocumented in source.
Functions
allocateNext
void
*
allocateNext
()
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
pageTables
Array
!(
SmallPageTable
!
sizeClass
)
pageTables
;
Undocumented in source.
slotIndex
size_t
slotIndex
;
Undocumented in source.
Meta
Source
See Implementation
segregated_gc
classes
SegregatedGC
functions
ceilPow2
onOutOfMemoryError
manifest constants
PAGESIZE
WORDSIZE
minimumSmallPageWordCount
pageTableCapacityDefault
static variables
mediumSizeClasses
smallSizeClasses
structs
Gcx
SmallPage
SmallPageTable
SmallPool
SmallPools
SmallSlot
variables
tlGcx
Small pool of pages.