8201480: ISA/CPU feature detection code crashes on linux-sparc
authorglaubitz
Thu, 12 Apr 2018 14:27:23 +0200
changeset 49755 80e7764e4d09
parent 49754 ee93c1087584
child 49756 129d60b5dac7
8201480: ISA/CPU feature detection code crashes on linux-sparc Reviewed-by: dholmes, shade, stuefe
src/hotspot/os_cpu/linux_sparc/vm_version_linux_sparc.cpp
--- a/src/hotspot/os_cpu/linux_sparc/vm_version_linux_sparc.cpp	Thu Apr 12 11:22:24 2018 +0200
+++ b/src/hotspot/os_cpu/linux_sparc/vm_version_linux_sparc.cpp	Thu Apr 12 14:27:23 2018 +0200
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2006, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2006, 2018, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -56,7 +56,7 @@
     }
   }
 
-  ~CPUinfo() { os::free((void*)_string); }
+  ~CPUinfo() { free((void*)_string); }
 
   const char* value() const { return _string; }