src/share/vm/services/mallocTracker.hpp

changeset 9053
da59531e1fdf
parent 7356
ec2c6fdd1ce6
     1.1 --- a/src/share/vm/services/mallocTracker.hpp	Wed Nov 15 11:09:37 2017 -0800
     1.2 +++ b/src/share/vm/services/mallocTracker.hpp	Wed Nov 08 09:07:05 2017 -0500
     1.3 @@ -268,7 +268,7 @@
     1.4      if (level == NMT_detail) {
     1.5        size_t bucket_idx;
     1.6        size_t pos_idx;
     1.7 -      if (record_malloc_site(stack, size, &bucket_idx, &pos_idx)) {
     1.8 +      if (record_malloc_site(stack, size, &bucket_idx, &pos_idx, flags)) {
     1.9          assert(bucket_idx <= MAX_MALLOCSITE_TABLE_SIZE, "Overflow bucket index");
    1.10          assert(pos_idx <= MAX_BUCKET_LENGTH, "Overflow bucket position index");
    1.11          _bucket_idx = bucket_idx;
    1.12 @@ -292,7 +292,7 @@
    1.13      _size = size;
    1.14    }
    1.15    bool record_malloc_site(const NativeCallStack& stack, size_t size,
    1.16 -    size_t* bucket_idx, size_t* pos_idx) const;
    1.17 +    size_t* bucket_idx, size_t* pos_idx, MEMFLAGS flags) const;
    1.18  };
    1.19  
    1.20  

mercurial