Simple.README
1Copyright (c) 2007, 2018, Oracle and/or its affiliates. All rights reserved.
2DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
3
4This code is free software; you can redistribute it and/or modify it
5under the terms of the GNU General Public License version 2 only, as
6published by the Free Software Foundation.
7
8This code is distributed in the hope that it will be useful, but WITHOUT
9ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
11version 2 for more details (a copy is included in the LICENSE file that
12accompanied this code).
13
14You should have received a copy of the GNU General Public License version
152 along with this work; if not, write to the Free Software Foundation,
16Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
17
18Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
19or visit www.oracle.com if you need additional information or have any
20questions.
21
22Simple garbage collection tests test that GC is able to collect simple objects.
23The test executes the following for several iterations: create array of objects,
24then null all references and refill the array with new objects. The test uses
25notions of garbage producer (nsk.share.gc.gp.GarbageProducer) and memory strategy
26(nsk.share.gc.gp.MemoryStrategy) to alter it's behaviour. The tests automatically
27adjust parameters to memory available to JVM as returned by Runtime.maxMemory().
28Tests with "high" memory strategy (*High) create small number of big objects,
29tests with "low" memory strategy (*Low) create huge number of small objects.
30