hotspot/src/share/vm/services/management.cpp
changeset 5091 4b7db223b9bd
parent 4571 80b553bddc26
child 5547 f4b087cbb361
equal deleted inserted replaced
4944:b6f633a93ae0 5091:4b7db223b9bd
  1535     Handle str = java_lang_String::create_from_str(flag->get_ccstr(), CHECK_false);
  1535     Handle str = java_lang_String::create_from_str(flag->get_ccstr(), CHECK_false);
  1536     global->value.l = (jobject)JNIHandles::make_local(env, str());
  1536     global->value.l = (jobject)JNIHandles::make_local(env, str());
  1537     global->type = JMM_VMGLOBAL_TYPE_JSTRING;
  1537     global->type = JMM_VMGLOBAL_TYPE_JSTRING;
  1538   } else {
  1538   } else {
  1539     global->type = JMM_VMGLOBAL_TYPE_UNKNOWN;
  1539     global->type = JMM_VMGLOBAL_TYPE_UNKNOWN;
  1540     assert(false, "Unsupported VMGlobal Type");
       
  1541     return false;
  1540     return false;
  1542   }
  1541   }
  1543 
  1542 
  1544   global->writeable = flag->is_writeable();
  1543   global->writeable = flag->is_writeable();
  1545   global->external = flag->is_external();
  1544   global->external = flag->is_external();