Mercurial > hg > truffle
comparison src/share/vm/services/attachListener.cpp @ 6275:957c266d8bc5
Merge with http://hg.openjdk.java.net/hsx/hsx24/hotspot/
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 21 Aug 2012 10:39:19 +0200 |
parents | d2a62e0f25eb |
children | da91efe96a93 |
comparison
equal
deleted
inserted
replaced
5891:fd8832ae511d | 6275:957c266d8bc5 |
---|---|
318 out->print_cr("flag value must be a string"); | 318 out->print_cr("flag value must be a string"); |
319 return JNI_ERR; | 319 return JNI_ERR; |
320 } | 320 } |
321 bool res = CommandLineFlags::ccstrAtPut((char*)name, &value, ATTACH_ON_DEMAND); | 321 bool res = CommandLineFlags::ccstrAtPut((char*)name, &value, ATTACH_ON_DEMAND); |
322 if (res) { | 322 if (res) { |
323 FREE_C_HEAP_ARRAY(char, value); | 323 FREE_C_HEAP_ARRAY(char, value, mtInternal); |
324 } else { | 324 } else { |
325 out->print_cr("setting flag %s failed", name); | 325 out->print_cr("setting flag %s failed", name); |
326 } | 326 } |
327 | 327 |
328 return res? JNI_OK : JNI_ERR; | 328 return res? JNI_OK : JNI_ERR; |