hotspot/src/share/vm/prims/jvm.cpp
changeset 33980 cbd63978deb5
parent 33611 9abd65805e19
parent 33976 160793725e6f
child 34319 9d6dd3c5ca23
equal deleted inserted replaced
33727:98a5adccf520 33980:cbd63978deb5
  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();