equal
deleted
inserted
replaced
3650 JVM_ENTRY(void, JVM_GetVersionInfo(JNIEnv* env, jvm_version_info* info, size_t info_size)) |
3650 JVM_ENTRY(void, JVM_GetVersionInfo(JNIEnv* env, jvm_version_info* info, size_t info_size)) |
3651 { |
3651 { |
3652 memset(info, 0, info_size); |
3652 memset(info, 0, info_size); |
3653 |
3653 |
3654 info->jvm_version = Abstract_VM_Version::jvm_version(); |
3654 info->jvm_version = Abstract_VM_Version::jvm_version(); |
3655 info->update_version = 0; /* 0 in HotSpot Express VM */ |
3655 info->patch_version = Abstract_VM_Version::vm_patch_version(); |
3656 info->special_update_version = 0; /* 0 in HotSpot Express VM */ |
|
3657 |
3656 |
3658 // when we add a new capability in the jvm_version_info struct, we should also |
3657 // when we add a new capability in the jvm_version_info struct, we should also |
3659 // consider to expose this new capability in the sun.rt.jvmCapabilities jvmstat |
3658 // consider to expose this new capability in the sun.rt.jvmCapabilities jvmstat |
3660 // counter defined in runtimeService.cpp. |
3659 // counter defined in runtimeService.cpp. |
3661 info->is_attachable = AttachListener::is_attach_supported(); |
3660 info->is_attachable = AttachListener::is_attach_supported(); |