8046286: assert: Do not add task if compilation is turned off forever
authoranoll
Mon, 23 Jun 2014 08:40:31 +0200
changeset 25343 d1dcc8376d83
parent 25079 99b6636bcb18
child 25344 c9c8045983ec
8046286: assert: Do not add task if compilation is turned off forever Summary: Remove the unnecessary and missleading assert Reviewed-by: iveresov
hotspot/src/share/vm/compiler/compileBroker.cpp
--- a/hotspot/src/share/vm/compiler/compileBroker.cpp	Mon Jun 16 16:27:41 2014 -0700
+++ b/hotspot/src/share/vm/compiler/compileBroker.cpp	Mon Jun 23 08:40:31 2014 +0200
@@ -589,11 +589,10 @@
 
 
 /**
- * Add a CompileTask to a CompileQueue
+ * Add a CompileTask to a CompileQueue.
  */
 void CompileQueue::add(CompileTask* task) {
   assert(lock()->owned_by_self(), "must own lock");
-  assert(!CompileBroker::is_compilation_disabled_forever(), "Do not add task if compilation is turned off forever");
 
   task->set_next(NULL);
   task->set_prev(NULL);