< prev index next >

test/hotspot/jtreg/vmTestbase/gc/gctests/LargeObjects/large005/TestDescription.java

Print this page
rev 59094 : imported patch randomness-keyword_vmTestbase_gc


   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 
  25 /*
  26  * @test
  27  * @key stress gc
  28  *
  29  * @summary converted from VM Testbase gc/gctests/LargeObjects/large005.
  30  * VM Testbase keywords: [gc, stress, stressopt, nonconcurrent]
  31  * VM Testbase readme:
  32  * DESCRIPTION
  33  *     The test checks that Garbage Collector correctly does not throw any
  34  *     unexpected exceptions/errors while allocating large objects (classes
  35  *     that have more than 65535 fields and classes that have less than 65535
  36  *     fields). 65535 of fields is a limitation for JVM (see JVM specification
  37  *     Second edition 4.10).
  38  *     Since it is impossible to create one class with about 65535 of fields
  39  *     (javac cannot compile it), a child class extends a parent class, so the
  40  *     fields are devided into two subsets. However, the child class still has
  41  *     about 65535 of fields.
  42  *     The test starts a number of threads. This number is either set in *.cfg
  43  *     file or is calculated by the test itself based on the machine (see
  44  *     nsk.share.gc.Algorithms.getThreadsCount() method). As soon as all threads
  45  *     are started, each thread begins its checking.
  46  *     There are 13 classes to be loaded by each thread. These classes are
  47  *     generated by nsk.share.gc.Generator (see its javadoc for more details).




   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 
  25 /*
  26  * @test
  27  * @key stress gc randomness
  28  *
  29  * @summary converted from VM Testbase gc/gctests/LargeObjects/large005.
  30  * VM Testbase keywords: [gc, stress, stressopt, nonconcurrent]
  31  * VM Testbase readme:
  32  * DESCRIPTION
  33  *     The test checks that Garbage Collector correctly does not throw any
  34  *     unexpected exceptions/errors while allocating large objects (classes
  35  *     that have more than 65535 fields and classes that have less than 65535
  36  *     fields). 65535 of fields is a limitation for JVM (see JVM specification
  37  *     Second edition 4.10).
  38  *     Since it is impossible to create one class with about 65535 of fields
  39  *     (javac cannot compile it), a child class extends a parent class, so the
  40  *     fields are devided into two subsets. However, the child class still has
  41  *     about 65535 of fields.
  42  *     The test starts a number of threads. This number is either set in *.cfg
  43  *     file or is calculated by the test itself based on the machine (see
  44  *     nsk.share.gc.Algorithms.getThreadsCount() method). As soon as all threads
  45  *     are started, each thread begins its checking.
  46  *     There are 13 classes to be loaded by each thread. These classes are
  47  *     generated by nsk.share.gc.Generator (see its javadoc for more details).


< prev index next >