trafodion-codereview mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zellerh <>
Subject [GitHub] incubator-trafodion pull request #953: [TRAFODION-2478] Reduce the number of...
Date Mon, 13 Feb 2017 18:46:23 GMT
Github user zellerh commented on a diff in the pull request:
    --- Diff: core/sql/cli/Globals.cpp ---
    @@ -322,6 +310,18 @@ void CliGlobals::init( NABoolean espProcess,
    +    if (statsGlobals_ != NULL) 
    +       memMonitor_ = statsGlobals_->getMemoryMonitor();
    --- End diff --
    Now that the memory monitor resides in another process, I think we need to make any of
its methods that shouldn't be called by the executor thread private, like update() and updatePageFaultRate().
It would also be good to update the comments in memorymonitor.h to indicate which calls are
meant for consumers and which ones are potentially in a separate thread.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message