< prev index next >

test/com/sun/jdi/DeoptimizeWalk.sh

Print this page
rev 12339 : 8075658: Mark intermittently failuring core-svc tests


  10 #
  11 # This code is distributed in the hope that it will be useful, but WITHOUT
  12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14 # version 2 for more details (a copy is included in the LICENSE file that
  15 # accompanied this code).
  16 #
  17 # You should have received a copy of the GNU General Public License version
  18 # 2 along with this work; if not, write to the Free Software Foundation,
  19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20 #
  21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22 # or visit www.oracle.com if you need additional information or have any
  23 # questions.
  24 #
  25 
  26 #  @test
  27 #  @bug 4525714
  28 #  @summary jtreg test PopAsynchronousTest fails in build 85 with -Xcomp
  29 #  @author Jim Holmlund/Swamy Venkataramanappa

  30 #  @run shell DeoptimizeWalk.sh
  31 
  32 #  This is another test of the same bug.  The bug occurs when trying
  33 #  to walk the stack of a deoptimized thread.  We can do this
  34 #  by running in -Xcomp mode and by doing a step which causes deopt,
  35 #  and then a 'where'.  This will cause not all the frames to be shown.
  36 
  37 compileOptions=-g
  38 
  39 echo "*********** This test only fails with -Xcomp ***************"
  40 createJavaFile()
  41 {
  42     cat <<EOF > $1.java.1
  43 
  44 public class $1 {
  45     static public void main(String[] args) {
  46        $1 mine = new $1();
  47        mine.a1(89);
  48     }
  49 




  10 #
  11 # This code is distributed in the hope that it will be useful, but WITHOUT
  12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14 # version 2 for more details (a copy is included in the LICENSE file that
  15 # accompanied this code).
  16 #
  17 # You should have received a copy of the GNU General Public License version
  18 # 2 along with this work; if not, write to the Free Software Foundation,
  19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20 #
  21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22 # or visit www.oracle.com if you need additional information or have any
  23 # questions.
  24 #
  25 
  26 #  @test
  27 #  @bug 4525714
  28 #  @summary jtreg test PopAsynchronousTest fails in build 85 with -Xcomp
  29 #  @author Jim Holmlund/Swamy Venkataramanappa
  30 #  @key intermittent
  31 #  @run shell DeoptimizeWalk.sh
  32 
  33 #  This is another test of the same bug.  The bug occurs when trying
  34 #  to walk the stack of a deoptimized thread.  We can do this
  35 #  by running in -Xcomp mode and by doing a step which causes deopt,
  36 #  and then a 'where'.  This will cause not all the frames to be shown.
  37 
  38 compileOptions=-g
  39 
  40 echo "*********** This test only fails with -Xcomp ***************"
  41 createJavaFile()
  42 {
  43     cat <<EOF > $1.java.1
  44 
  45 public class $1 {
  46     static public void main(String[] args) {
  47        $1 mine = new $1();
  48        mine.a1(89);
  49     }
  50 


< prev index next >