JinwooHwang commented on code in PR #7957:
URL: https://github.com/apache/geode/pull/7957#discussion_r2585816657
##########
geode-core/src/main/java/org/apache/geode/internal/stats50/VMStats50.java:
##########
@@ -585,7 +586,7 @@ private void refreshGC() {
public void refresh() {
Runtime rt = Runtime.getRuntime();
vmStats.setInt(pendingFinalizationCountId,
memBean.getObjectPendingFinalizationCount());
- vmStats.setInt(cpusId, osBean.getAvailableProcessors());
+ vmStats.setInt(cpusId, platformOsBean.getAvailableProcessors());
Review Comment:
Great catch! You're absolutely right @sboorlagadda. We should add a null
check for consistency with the pattern used for unixOsBean. I've added the null
check in the latest commit. Thank you for the thorough review!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]