< prev index next >

test/hotspot/jtreg/gc/stress/gcbasher/Bytecode.java

Print this page
@@ -1,7 +1,7 @@
  /*
-  * Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
+  * Copyright (c) 2016, 2022, 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.

@@ -40,10 +40,12 @@
      public static final int ANEWARRAY          = 189;
      public static final int CHECKCAST          = 192;
      public static final int INSTANCEOF         = 193;
      public static final int MULTIANEWARRAY     = 197;
      public static final int WIDE               = 196;
+     public static final int ACONSTINIT         = 203;
+     public static final int WITHFIELD          = 204;
  
      private static final int lengths[] = {
          1,
          1,
          1,

@@ -244,11 +246,13 @@
          4,
          3,
          3,
          5,
          5,
-         1
+         1,
+         3,
+         3
      };
  
      public static int getLength(int bc) throws IllegalArgumentException {
          if ((bc < 0) || (bc >= lengths.length)) {
              throw new IllegalArgumentException("Unknown bytecode " + bc);
< prev index next >