src/hotspot/share/prims/jvm.cpp
changeset 52148 2d9f8845d0ae
parent 50951 b96466cdfc45
child 52431 b0af758a092c
equal deleted inserted replaced
52147:435467bce14e 52148:2d9f8845d0ae
  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();