< prev index next >

src/share/vm/jfr/jni/jfrJavaCall.cpp

Print this page
rev 9060 : 8216064: -XX:StartFlightRecording:settings= doesn't work properly
Reviewed-by: mgronlun

*** 182,201 **** ShouldNotReachHere(); } } } ! JfrJavaArguments::JfrJavaArguments(JavaValue* result) : _result(result), _klass(NULL), _name(NULL), _signature(NULL), _array_length(0) { assert(result != NULL, "invariant"); } JfrJavaArguments::JfrJavaArguments(JavaValue* result, const char* klass_name, const char* name, const char* signature, TRAPS) : _result(result), _klass(NULL), _name(NULL), _signature(NULL), ! _array_length(0) { assert(result != NULL, "invariant"); if (klass_name != NULL) { set_klass(klass_name, CHECK); } if (name != NULL) { --- 182,201 ---- ShouldNotReachHere(); } } } ! JfrJavaArguments::JfrJavaArguments(JavaValue* result) : _result(result), _klass(NULL), _name(NULL), _signature(NULL), _array_length(-1) { assert(result != NULL, "invariant"); } JfrJavaArguments::JfrJavaArguments(JavaValue* result, const char* klass_name, const char* name, const char* signature, TRAPS) : _result(result), _klass(NULL), _name(NULL), _signature(NULL), ! _array_length(-1) { assert(result != NULL, "invariant"); if (klass_name != NULL) { set_klass(klass_name, CHECK); } if (name != NULL) {
*** 208,218 **** JfrJavaArguments::JfrJavaArguments(JavaValue* result, const Klass* klass, const Symbol* name, const Symbol* signature) : _result(result), _klass(NULL), _name(NULL), _signature(NULL), ! _array_length(0) { assert(result != NULL, "invariant"); if (klass != NULL) { set_klass(klass); } if (name != NULL) { --- 208,218 ---- JfrJavaArguments::JfrJavaArguments(JavaValue* result, const Klass* klass, const Symbol* name, const Symbol* signature) : _result(result), _klass(NULL), _name(NULL), _signature(NULL), ! _array_length(-1) { assert(result != NULL, "invariant"); if (klass != NULL) { set_klass(klass); } if (name != NULL) {
< prev index next >