Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/globals.hpp @ 14183:6c583aa36bc9
8029070: memory leak in jmm_SetVMGlobal
Reviewed-by: kvn, dholmes
author | iignatyev |
---|---|
date | Mon, 23 Dec 2013 20:56:18 +0400 |
parents | 438fe38c63c8 |
children | db1ff6781ab4 |
comparison
equal
deleted
inserted
replaced
14181:27c84ba76954 | 14183:6c583aa36bc9 |
---|---|
374 static bool doubleAtPut(char* name, size_t len, double* value, Flag::Flags origin); | 374 static bool doubleAtPut(char* name, size_t len, double* value, Flag::Flags origin); |
375 static bool doubleAtPut(char* name, double* value, Flag::Flags origin) { return doubleAtPut(name, strlen(name), value, origin); } | 375 static bool doubleAtPut(char* name, double* value, Flag::Flags origin) { return doubleAtPut(name, strlen(name), value, origin); } |
376 | 376 |
377 static bool ccstrAt(char* name, size_t len, ccstr* value); | 377 static bool ccstrAt(char* name, size_t len, ccstr* value); |
378 static bool ccstrAt(char* name, ccstr* value) { return ccstrAt(name, strlen(name), value); } | 378 static bool ccstrAt(char* name, ccstr* value) { return ccstrAt(name, strlen(name), value); } |
379 // Contract: Flag will make private copy of the incoming value. | |
380 // Outgoing value is always malloc-ed, and caller MUST call free. | |
379 static bool ccstrAtPut(char* name, size_t len, ccstr* value, Flag::Flags origin); | 381 static bool ccstrAtPut(char* name, size_t len, ccstr* value, Flag::Flags origin); |
380 static bool ccstrAtPut(char* name, ccstr* value, Flag::Flags origin) { return ccstrAtPut(name, strlen(name), value, origin); } | 382 static bool ccstrAtPut(char* name, ccstr* value, Flag::Flags origin) { return ccstrAtPut(name, strlen(name), value, origin); } |
381 | 383 |
382 // Returns false if name is not a command line flag. | 384 // Returns false if name is not a command line flag. |
383 static bool wasSetOnCmdline(const char* name, bool* value); | 385 static bool wasSetOnCmdline(const char* name, bool* value); |