src/hotspot/os_cpu/linux_sparc/vm_version_linux_sparc.cpp
changeset 49755 80e7764e4d09
parent 47772 71ad0eec75e8
child 59122 5d73255c2d52
equal deleted inserted replaced
49754:ee93c1087584 49755:80e7764e4d09
     1 /*
     1 /*
     2  * Copyright (c) 2006, 2017, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2006, 2018, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    54       }
    54       }
    55       fclose(fp);
    55       fclose(fp);
    56     }
    56     }
    57   }
    57   }
    58 
    58 
    59   ~CPUinfo() { os::free((void*)_string); }
    59   ~CPUinfo() { free((void*)_string); }
    60 
    60 
    61   const char* value() const { return _string; }
    61   const char* value() const { return _string; }
    62 
    62 
    63   bool valid() const { return _string != NULL; }
    63   bool valid() const { return _string != NULL; }
    64 
    64