Mercurial > hg > truffle
comparison src/share/vm/services/management.cpp @ 1326:4f7af0dc447b
6915365: 3/4 assert(false,"Unsupported VMGlobal Type") at management.cpp:1540
Summary: Remove assert to decouple JDK and HotSpot additions of known types.
Reviewed-by: mchung
author | dcubed |
---|---|
date | Tue, 23 Mar 2010 14:37:18 -0700 |
parents | 4ce7240d622c |
children | c18cbe5936b8 |
comparison
equal
deleted
inserted
replaced
1269:6c9796468b91 | 1326:4f7af0dc447b |
---|---|
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(); |