JS_AddRoot(cx, &member_val->method_val);
JS_AddNamedRoot(cx, &member_val->method_val, "&member_val->method_val");
jsj_CreateJavaMember(JSContext *cx, jsval method_val, jsval field_val){    JavaMethodOrFieldValue *member_val;    JSObject *JavaMember_obj;        member_val = (JavaMethodOrFieldValue *)JS_malloc(cx, sizeof(*member_val));    if (!member_val)        return NULL;        JavaMember_obj = JS_NewObject(cx, &JavaMember_class, 0, 0);    if (!JavaMember_obj) {        JS_free(cx, member_val);        return NULL;    }    JS_SetPrivate(cx, JavaMember_obj, (void *)member_val);    member_val->method_val = method_val;    JS_AddRoot(cx, &member_val->method_val);    member_val->field_val = field_val;    if (JSVAL_IS_GCTHING(field_val))        JS_AddRoot(cx, &member_val->field_val);    return JavaMember_obj;}