equal
deleted
inserted
replaced
3734 |
3734 |
3735 JVM_ENTRY(void, JVM_GetVersionInfo(JNIEnv* env, jvm_version_info* info, size_t info_size)) |
3735 JVM_ENTRY(void, JVM_GetVersionInfo(JNIEnv* env, jvm_version_info* info, size_t info_size)) |
3736 { |
3736 { |
3737 memset(info, 0, info_size); |
3737 memset(info, 0, info_size); |
3738 |
3738 |
3739 info->jvm_version = Abstract_VM_Version::jvm_version(); |
3739 info->jvm_version = VM_Version::jvm_version(); |
3740 info->patch_version = Abstract_VM_Version::vm_patch_version(); |
3740 info->patch_version = VM_Version::vm_patch_version(); |
3741 |
3741 |
3742 // when we add a new capability in the jvm_version_info struct, we should also |
3742 // when we add a new capability in the jvm_version_info struct, we should also |
3743 // consider to expose this new capability in the sun.rt.jvmCapabilities jvmstat |
3743 // consider to expose this new capability in the sun.rt.jvmCapabilities jvmstat |
3744 // counter defined in runtimeService.cpp. |
3744 // counter defined in runtimeService.cpp. |
3745 info->is_attach_supported = AttachListener::is_attach_supported(); |
3745 info->is_attach_supported = AttachListener::is_attach_supported(); |