< prev index next >
test/hotspot/jtreg/vmTestbase/nsk/jvmti/IterateThroughHeap/filter-tagged/HeapFilter.cpp
Print this page
rev 52285 : 8212884: Remove the assignments in ifs for vmTestbase/[a-s]
Summary: Extract assignments from if statements in vmTestbase
Reviewed-by: cjplummer, sspitsyn
@@ -527,11 +527,12 @@
jvmtiEnv *jvmti;
jvmtiCapabilities caps;
jvmtiEventCallbacks event_callbacks;
const char *type;
- if(!NSK_VERIFY((jvmti = nsk_jvmti_createJVMTIEnv(jvm, reserved)) != NULL)) {
+ jvmti = nsk_jvmti_createJVMTIEnv(jvm, reserved);
+ if (!NSK_VERIFY(jvmti != NULL)) {
return JNI_ERR;
}
nsk_jvmti_parseOptions(options);
< prev index next >