< prev index next >

test/runtime/valhalla/valuetypes/VTBufferTest.java

Print this page




   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  * @test VTBufferTest
  26  * @summary Value Type interpreter value buffering test
  27  * @library /test/lib
  28  * @build ValueTypeGenerator
  29  * @run main/othervm -noverify -Xint -XX:+EnableValhalla VTBufferTest generate-and-run
  30  * @run main/othervm -noverify -Xint -XX:+EnableValhalla -XX:ValueTypesBufferMaxMemory=0 VTBufferTest generate-and-run
  31  * @run main/othervm -noverify -Xint -XX:+EnableValhalla -XX:BigValueTypeThreshold=196 VTBufferTest generate-and-run
  32  */
  33 
  34 /* This test generates its source code.
  35  * To reproduce a run (for instance to investigate a failure), look at
  36  * the test output and search for a line starting with "Seed=". The value
  37  * at the end of the line is the seed used to generate the test.
  38  * It possible to re-generate the same test with the following commande
  39  * line:
  40  *  $ java <VMOptions> VTBufferTest generate-and-run -seed <seed>
  41  * where <seed> is the seed value from the test output.
  42  * The test source code is generated in the current directory with
  43  * names Value[0-9][0-9].java and Loop.java.
  44  * Once generated, the test can be run again without going through
  45  * the generation phase with the following commande line:
  46  *  $ java <VMOptions> VTBufferTest run
  47  */
  48 
  49 import jvm.internal.value.*;
  50 
  51 import javax.management.*;




   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  * @test VTBufferTest
  26  * @summary Value Type interpreter value buffering test
  27  * @library /test/lib
  28  * @build ValueTypeGenerator
  29  * @run main/othervm -Xint -XX:+EnableValhalla VTBufferTest generate-and-run
  30  * @run main/othervm -Xint -XX:+EnableValhalla -XX:ValueTypesBufferMaxMemory=0 VTBufferTest generate-and-run
  31  * @run main/othervm -Xint -XX:+EnableValhalla -XX:BigValueTypeThreshold=196 VTBufferTest generate-and-run
  32  */
  33 
  34 /* This test generates its source code.
  35  * To reproduce a run (for instance to investigate a failure), look at
  36  * the test output and search for a line starting with "Seed=". The value
  37  * at the end of the line is the seed used to generate the test.
  38  * It possible to re-generate the same test with the following commande
  39  * line:
  40  *  $ java <VMOptions> VTBufferTest generate-and-run -seed <seed>
  41  * where <seed> is the seed value from the test output.
  42  * The test source code is generated in the current directory with
  43  * names Value[0-9][0-9].java and Loop.java.
  44  * Once generated, the test can be run again without going through
  45  * the generation phase with the following commande line:
  46  *  $ java <VMOptions> VTBufferTest run
  47  */
  48 
  49 import jvm.internal.value.*;
  50 
  51 import javax.management.*;


< prev index next >