-
Notifications
You must be signed in to change notification settings - Fork 728
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: RamClass: Segment allocation enhancements #20831
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3563,6 +3563,17 @@ typedef struct J9HookedNative { | |
} J9HookedNative; | ||
|
||
/* @ddr_namespace: map_to_type=J9ClassLoader */ | ||
typedef struct J9RAMClassFreeListBlockType { | ||
struct J9RAMClassFreeListBlock* ramClassLargeBlockFreeList; | ||
struct J9RAMClassFreeListBlock* ramClassSmallBlockFreeList; | ||
struct J9RAMClassFreeListBlock* ramClassTinyBlockFreeList; | ||
} J9RAMClassFreeListBlockType; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think Also, nit: the members should be from |
||
|
||
typedef struct RamClassUDATABlockFreelist { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The Though a higher level discussion point is: why are some types/variables |
||
UDATA* ramClassSub4gUDATABlockFreeList; | ||
UDATA* ramClassFreqUDATABlockFreeList; | ||
UDATA* ramClassInFreqUDATABlockFreeList; | ||
} RamClassUDATABlockFreelist; | ||
|
||
typedef struct J9ClassLoader { | ||
struct J9Pool* sharedLibraries; | ||
|
@@ -3583,10 +3594,10 @@ typedef struct J9ClassLoader { | |
#endif /* defined(J9VM_NEEDS_JNI_REDIRECTION) */ | ||
struct J9JITExceptionTable* jitMetaDataList; | ||
struct J9MemorySegment* classSegments; | ||
struct J9RAMClassFreeListBlock* ramClassLargeBlockFreeList; | ||
struct J9RAMClassFreeListBlock* ramClassSmallBlockFreeList; | ||
struct J9RAMClassFreeListBlock* ramClassTinyBlockFreeList; | ||
UDATA* ramClassUDATABlockFreeList; | ||
struct J9RAMClassFreeListBlockType sub4gBlock; | ||
struct J9RAMClassFreeListBlockType frequentlyAccessedBlock; | ||
struct J9RAMClassFreeListBlockType inFrequentlyAccessedBlock; | ||
struct RamClassUDATABlockFreelist ramClassUDATABlocks; | ||
struct J9HashTable* redefinedClasses; | ||
struct J9NativeLibrary* librariesHead; | ||
struct J9NativeLibrary* librariesTail; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These pointer-typed variables should have right-aligned
*
. e.g.UDATA *inFreqListBlock = udataFreeListBlock...