< prev index next >

hotspot/src/share/vm/utilities/array.hpp

Print this page
rev 10455 : imported patch move some typedef back

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2016, 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
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.

@@ -290,15 +290,15 @@
 
 #define define_c_heap_pointer_list(element_type)                                         \
   define_generic_array(element_type##Array, element_type *, CHeapArray)                  \
   define_stack(element_type##List, element_type##Array)
 
-
 // Arrays for basic types
-
-define_array(boolArray, bool)          define_stack(boolStack, boolArray)
-define_array(intArray , int )          define_stack(intStack , intArray )
+typedef GrowableArray<int> intArray;
+typedef GrowableArray<int> intStack;
+typedef GrowableArray<bool> boolArray;
+typedef GrowableArray<bool> boolStack;
 
 // Array for metadata allocation
 
 template <typename T>
 class Array: public MetaspaceObj {
< prev index next >