-
Notifications
You must be signed in to change notification settings - Fork 721
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
Jvmti GetThreadGroupChildren allocates more memory than necessary #15706
Comments
Another place where more memory is used. Only live threads are stored in the array. But, the array size is based upon all threads in the openj9/runtime/jvmti/jvmtiThreadGroup.c Lines 295 to 308 in 92da2c6
|
Another location. Only live threads are stored in the array. But, the array size is based on openj9/runtime/jvmti/jvmtiThread.c Lines 173 to 178 in 92da2c6
|
More memory is used. Tradeoff for reducing memory usage will be more memory operations and processing time. |
GetThreadGroupChildren returns two arrays that may allocate more memory than needed.
openj9/runtime/jvmti/jvmtiThreadGroup.c
Lines 379 to 383 in 92da2c6
openj9/runtime/jvmti/jvmtiThreadGroup.c
Lines 411 to 415 in 92da2c6
See #15539 (comment)
The text was updated successfully, but these errors were encountered: