Skip to content

Commit

Permalink
Merge pull request #3 from przemelek/external_configuration_to_disabl…
Browse files Browse the repository at this point in the history
…e_enable_HotswapAgent

External configuration to disable enable hotswap agent
  • Loading branch information
skybber authored Nov 13, 2018
2 parents 8650c87 + 08cf8f3 commit 94f56a0
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/hotspot/share/runtime/globals.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@

#include <float.h> // for DBL_MAX

#ifdef DCEVM_ONLY
#define DISABLED_HOTSWAP_AGENT true
#else
#define DISABLED_HOTSWAP_AGENT false
#endif

// The larger HeapWordSize for 64bit requires larger heaps
// for the same application running in 64bit. See bug 4967770.
// The minimum alignment to a heap word size is done. Other
Expand Down Expand Up @@ -2659,9 +2665,8 @@ define_pd_global(uint64_t,MaxRAM, 1ULL*G);
"Allow enhanced class redefinition beyond swapping method " \
"bodies") \
\
product(bool, DisableHotswapAgent, false, \
product(bool, DisableHotswapAgent, DISABLED_HOTSWAP_AGENT, \
"Disable integrated Hotswap Agent (HotswapVM only)")

#define VM_FLAGS(develop, \
develop_pd, \
product, \
Expand Down

0 comments on commit 94f56a0

Please sign in to comment.