< prev index next >

test/hotspot/gtest/gc/shared/test_workerDataArray.cpp

Print this page
rev 57241 : imported patch 8235346-redo-memory-leak
rev 57242 : imported patch 8235341-workerdataarray-cleanup
rev 57243 : [mq]: 8235341-stefanj-review

@@ -32,14 +32,14 @@
 template<typename T>
 class WorkerDataArrayTest : public ::testing::Test {
  protected:
   WorkerDataArrayTest() :
     title("Test array"),
-    array(3, title),
+    array(title, 3),
     sub_item_title("Sub item array") {
 
-    array.link_thread_work_items(new WorkerDataArray<size_t>(3, sub_item_title));
+    array.create_thread_work_items(sub_item_title);
   }
 
   const char* print_summary() {
     stringStream out;
     array.print_summary_on(&out);
< prev index next >