mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
7189254: Change makefiles for more flexibility to override defaults
Change makefiles so that targets and parameters can be overridden by alternate makefiles. Reviewed-by: dholmes, coleenp
This commit is contained in:
parent
9e9db7f831
commit
c5eaaaa070
56 changed files with 1068 additions and 357 deletions
|
@ -41,7 +41,11 @@
|
|||
#include "runtime/stubRoutines.hpp"
|
||||
#include "runtime/threadLocalStorage.hpp"
|
||||
#include "runtime/unhandledOops.hpp"
|
||||
|
||||
#if INCLUDE_NMT
|
||||
#include "services/memRecorder.hpp"
|
||||
#endif // INCLUDE_NMT
|
||||
|
||||
#include "trace/tracing.hpp"
|
||||
#include "utilities/exceptions.hpp"
|
||||
#include "utilities/top.hpp"
|
||||
|
@ -1038,6 +1042,7 @@ class JavaThread: public Thread {
|
|||
bool do_not_unlock_if_synchronized() { return _do_not_unlock_if_synchronized; }
|
||||
void set_do_not_unlock_if_synchronized(bool val) { _do_not_unlock_if_synchronized = val; }
|
||||
|
||||
#if INCLUDE_NMT
|
||||
// native memory tracking
|
||||
inline MemRecorder* get_recorder() const { return (MemRecorder*)_recorder; }
|
||||
inline void set_recorder(MemRecorder* rc) { _recorder = (volatile MemRecorder*)rc; }
|
||||
|
@ -1045,6 +1050,7 @@ class JavaThread: public Thread {
|
|||
private:
|
||||
// per-thread memory recorder
|
||||
volatile MemRecorder* _recorder;
|
||||
#endif // INCLUDE_NMT
|
||||
|
||||
// Suspend/resume support for JavaThread
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue