changeset 49755:80e7764e4d09

8201480: ISA/CPU feature detection code crashes on linux-sparc Reviewed-by: dholmes, shade, stuefe
author glaubitz
date Thu, 12 Apr 2018 14:27:23 +0200
parents ee93c1087584
children 129d60b5dac7
files src/hotspot/os_cpu/linux_sparc/vm_version_linux_sparc.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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; }