comparison src/share/vm/services/memBaseline.hpp @ 10148:fbca7eaeac2e

8011218: Kitchensink hanged, likely NMT is to blame Summary: Made NMT query safepoint aware. Reviewed-by: dholmes, coleenp
author zgu
date Wed, 24 Apr 2013 14:55:04 -0400
parents b80cc96882f7
children 833b0f92429a
comparison
equal deleted inserted replaced
10147:cc70cbbd422e 10148:fbca7eaeac2e
1 /* 1 /*
2 * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
328 328
329 private: 329 private:
330 // should not use copy constructor 330 // should not use copy constructor
331 MemBaseline(MemBaseline& copy) { ShouldNotReachHere(); } 331 MemBaseline(MemBaseline& copy) { ShouldNotReachHere(); }
332 332
333 // check and block at a safepoint
334 static inline void check_safepoint(JavaThread* thr);
335
333 public: 336 public:
334 // create a memory baseline 337 // create a memory baseline
335 MemBaseline(); 338 MemBaseline();
336 339
337 ~MemBaseline(); 340 ~MemBaseline();