Request for review: 7096278 Update the VM name to indicate it is an embedded build

David Holmes david.holmes at oracle.com
Mon Oct 10 17:43:04 PDT 2011


Actually more a FYI than a request for review as this has already been 
reviewed internally and is only for our embedded build. We just add the 
word "Embedded " to the VM name when building JAVASE_EMBEDDED.

http://cr.openjdk.java.net/~dholmes/7096278/webrev.1/

--- old/src/share/vm/runtime/vm_version.cpp	Mon Oct 10 20:36:41 2011
+++ new/src/share/vm/runtime/vm_version.cpp	Mon Oct 10 20:36:39 2011
@@ -128,7 +128,7 @@
  #ifndef HOTSPOT_VM_DISTRO
    #error HOTSPOT_VM_DISTRO must be defined
  #endif
-#define VMNAME HOTSPOT_VM_DISTRO " " VMLP VMTYPE " VM"
+#define VMNAME HOTSPOT_VM_DISTRO " " VMLP EMBEDDED_ONLY("Embedded ") 
VMTYPE " VM"


This changes the value of the java.vm.name system property and so has to 
be approved by the CCC process. Once that is done it will be pushed to 
hsx23.

Thanks,
David


More information about the hotspot-runtime-dev mailing list