src/hotspot/share/runtime/threadHeapSampler.hpp
changeset 50882 80abf702eed8
parent 50579 1596f418ffe4
child 51138 914f305ba6fa
equal deleted inserted replaced
50881:a21cad3fa448 50882:80abf702eed8
    55   }
    55   }
    56 
    56 
    57   size_t bytes_until_sample()                    { return _bytes_until_sample;   }
    57   size_t bytes_until_sample()                    { return _bytes_until_sample;   }
    58   void set_bytes_until_sample(size_t bytes)      { _bytes_until_sample = bytes;  }
    58   void set_bytes_until_sample(size_t bytes)      { _bytes_until_sample = bytes;  }
    59 
    59 
    60   void check_for_sampling(HeapWord* obj, size_t size_in_bytes, size_t bytes_allocated_before = 0);
    60   void check_for_sampling(oop obj, size_t size_in_bytes, size_t bytes_allocated_before);
    61 
    61 
    62   static int enabled();
    62   static int enabled();
    63   static void enable();
    63   static void enable();
    64   static void disable();
    64   static void disable();
    65 
    65