hotspot/src/share/vm/runtime/globals.cpp
changeset 11254 e2dd3c32a7cb
parent 11183 a81bb5c041d3
child 11441 a89f443814cd
--- a/hotspot/src/share/vm/runtime/globals.cpp	Wed Dec 14 04:30:57 2011 -0800
+++ b/hotspot/src/share/vm/runtime/globals.cpp	Mon Dec 19 15:50:47 2011 -0500
@@ -82,16 +82,19 @@
 }
 
 bool Flag::is_writeable() const {
-  return (strcmp(kind, "{manageable}") == 0 || strcmp(kind, "{product rw}") == 0);
+  return strcmp(kind, "{manageable}") == 0 ||
+         strcmp(kind, "{product rw}") == 0 ||
+         is_writeable_ext();
 }
 
-// All flags except "manageable" are assumed internal flags.
+// All flags except "manageable" are assumed to be internal flags.
 // Long term, we need to define a mechanism to specify which flags
 // are external/stable and change this function accordingly.
 bool Flag::is_external() const {
-  return (strcmp(kind, "{manageable}") == 0);
+  return strcmp(kind, "{manageable}") == 0 || is_external_ext();
 }
 
+
 // Length of format string (e.g. "%.1234s") for printing ccstr below
 #define FORMAT_BUFFER_LEN 16