< prev index next >

src/hotspot/share/services/dtraceAttacher.cpp

Print this page

@@ -33,11 +33,11 @@
 
 #ifdef SOLARIS
 
 static void set_bool_flag(const char* name, bool value) {
   JVMFlag* flag = JVMFlag::find_flag(name);
-  JVMFlag::boolAtPut(flag, &value, JVMFlag::ATTACH_ON_DEMAND);
+  JVMFlag::boolAtPut(flag, value, JVMFlag::ATTACH_ON_DEMAND);
 }
 
 // Enable only the "fine grained" flags. Do *not* touch
 // the overall "ExtendedDTraceProbes" flag.
 void DTrace::enable_dprobes(int probes) {
< prev index next >