equal
deleted
inserted
replaced
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 |