changeset 6667:c4d4fc9b3bd3

8046286: assert: Do not add task if compilation is turned off forever Summary: Remove the unnecessary and missleading assert Reviewed-by: iveresov
author anoll
date Mon, 23 Jun 2014 08:40:31 +0200
parents 2399ebcea84d
children 3a2e97446c5f
files src/share/vm/compiler/compileBroker.cpp
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/compiler/compileBroker.cpp	Mon Jun 16 16:27:41 2014 -0700
+++ b/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);