RFR: 8337563: NMT: rename MEMFLAGS to MemFlag
    Stefan Karlsson 
    stefank at openjdk.org
       
    Thu Aug 15 07:48:48 UTC 2024
    
    
  
On Thu, 15 Aug 2024 06:31:14 GMT, David Holmes <dholmes at openjdk.org> wrote:
> > Whatever we choose we also need to consider the mt prefix of things like mtGC, mtClass, etc.
> 
> And what does that stand for: memory type? memory tracker? Arguably they should have been nmtGC etc.
The memflags.hpp file says that it's a memory type:
+#define MEMORY_TYPES_DO(f)                                                           \
+  /* Memory type by sub systems. It occupies lower byte. */                          \
+  f(mtJavaHeap,       "Java Heap")   /* Java heap                                 */ \
My guess is that at some point there was an incomplete rename from "memory type".
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20497#issuecomment-2290832943
    
    
More information about the hotspot-dev
mailing list