8222720: Provide extended VMWare/vSphere virtualization related info in the hs_error file on linux/windows x86_64

Baesken, Matthias matthias.baesken at sap.com
Fri May 10 09:08:21 UTC 2019


Hi  David,   I removed / adjusted the ifdefs and  added checks != NULL :


http://cr.openjdk.java.net/~mbaesken/webrevs/8222720.3/


(not sure however about VMWARE Fusion on Mac, have no access to it )

Regards, Matthias

> 
> Hi Matthias,
> 
> On 10/05/2019 4:21 pm, Baesken, Matthias wrote:
> > Hello, here  is an updated  version :
> >
> > http://cr.openjdk.java.net/~mbaesken/webrevs/8222720.2/
> >
> > I switched to  os::dll_load  /  os::dll_lookup  .
> > Also removed the VMWare related names  ( now  the name is
> "VirtualizationSupport"  ).
> 
> Thanks!
> 
> src/hotspot/cpu/x86/vm_version_x86.cpp
> 
> No ifdefs needed.
> 
> src/hotspot/share/utilities/virtualizationSupport.cpp
> 
>   47 #if defined(__linux)
> 
> The common form of this is:
> 
> #ifdef LINUX
> 
>   62   if (GuestLib_StatGet && GuestLib_StatFree) {
> 
> Style nit: avoid implicit booleans - test against NULL.
> 
> ---
> 
> Otherwise seems fine.
> 
> Thanks,
> David
> -----
> 
> > Best regards, Matthias
> >
> >
> >>
> >> Hi David, thanks for the feedback . I'll provide an updated webrev .
> >>
> >>> **Not sure about the validity of using "vmware" in the name of files or
> >>> classes either due to its trademark status.
> >>
> >> Well , we have a lot of  technology  names in file-names (AIX and
> Windows
> >> come to mind) .
> >>
> >> But to be on the safe side,  I think I'll  choose a more generic name .
> >>
> >>
> >> Best regards, Matthias
> >>
> >


More information about the hotspot-dev mailing list