8140604: Internal Error runtime/stubRoutines.hpp:392 assert(_intrinsic_log != 0L) failed: must be defined
authoriveresov
Thu, 29 Oct 2015 09:59:56 -0700
changeset 33485 29d1dfa9bb4a
parent 33484 19436533aef1
child 33487 cf40d414392a
8140604: Internal Error runtime/stubRoutines.hpp:392 assert(_intrinsic_log != 0L) failed: must be defined Summary: Fix the faulty assert, remove remaining _intrinsic_log references Reviewed-by: roland
hotspot/src/share/vm/runtime/stubRoutines.cpp
hotspot/src/share/vm/runtime/stubRoutines.hpp
--- a/hotspot/src/share/vm/runtime/stubRoutines.cpp	Thu Oct 29 13:23:43 2015 +0000
+++ b/hotspot/src/share/vm/runtime/stubRoutines.cpp	Thu Oct 29 09:59:56 2015 -0700
@@ -151,7 +151,6 @@
 address StubRoutines::_dexp = NULL;
 address StubRoutines::_dlog = NULL;
 
-double (* StubRoutines::_intrinsic_log   )(double) = NULL;
 double (* StubRoutines::_intrinsic_log10 )(double) = NULL;
 double (* StubRoutines::_intrinsic_pow   )(double, double) = NULL;
 double (* StubRoutines::_intrinsic_sin   )(double) = NULL;
--- a/hotspot/src/share/vm/runtime/stubRoutines.hpp	Thu Oct 29 13:23:43 2015 +0000
+++ b/hotspot/src/share/vm/runtime/stubRoutines.hpp	Thu Oct 29 09:59:56 2015 -0700
@@ -216,7 +216,6 @@
   // intrinsic version returns the same result as the strict version
   // then they can be set to the appropriate function from
   // SharedRuntime.
-  static double (*_intrinsic_log)(double);
   static double (*_intrinsic_log10)(double);
   static double (*_intrinsic_pow)(double, double);
   static double (*_intrinsic_sin)(double);
@@ -384,12 +383,8 @@
 
   static address zero_aligned_words()   { return _zero_aligned_words; }
 
-  static double  intrinsic_log(double d) {
-    assert(_intrinsic_log != NULL, "must be defined");
-    return _intrinsic_log(d);
-  }
   static double  intrinsic_log10(double d) {
-    assert(_intrinsic_log != NULL, "must be defined");
+    assert(_intrinsic_log10 != NULL, "must be defined");
     return _intrinsic_log10(d);
   }
   static double  intrinsic_pow(double d, double d2) {