< prev index next >

test/com/sun/jdi/RedefinePop.sh

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


  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 4622663
  28 #  @summary redefine and pop top frame from jdb gets assertion failure
  29 #  @author Jim Holmlund/Swamy Venkataramanappa
  30 #
  31 #  The failure occurs with debug java when the pop deletes the
  32 #  line that called the method which is being popped.

  33 #  @run shell RedefinePop.sh
  34 
  35 
  36 # assert(index<len, "should have found method")
  37 #  [8] report_assertion_failure(0xfe2a54d9, 0xfe2a54e3, 0x2cc, 0xfe2a5527, 0xfffffff8, 0x3f2b8), at 0xfda1e5e8
  38 # [9] methodOopDesc::jni_id(0xf590a2f0, 0x3e868, 0x8, 0xffbed760, 0xf590a3ac, 0xffbed664), at 0xfdcd7a2c
  39  # [10] JvmdiThreadState::compare_and_set_current_location(0x3f450, 0xf590a2f0, 0xf590a33f, 0x1, 0x1, 0x3e868), at 0xfdc0f670
  40 #  [11] jvmdi::at_single_stepping_point(0x3e868, 0xf590a2f0, 0xf590a33f, 0x5, 0x0, 0x0), at 0xfdc29184
  41 #  [12] InterpreterRuntime::at_safepoint(0x3e868, 0xb6, 0x2, 0xf9c28744, 0xf590a038, 0xffbed880), at 0xfdb0d590
  42 
  43 # These are variables that can be set to control execution
  44 
  45 compileOptions=-g
  46 
  47 createJavaFile()
  48 {
  49     cat <<EOF > $1.java.1
  50 
  51 public class $1 {
  52     static public void main(String[] args) {




  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 4622663
  28 #  @summary redefine and pop top frame from jdb gets assertion failure
  29 #  @author Jim Holmlund/Swamy Venkataramanappa
  30 #
  31 #  The failure occurs with debug java when the pop deletes the
  32 #  line that called the method which is being popped.
  33 #  @key intermittent
  34 #  @run shell RedefinePop.sh
  35 
  36 
  37 # assert(index<len, "should have found method")
  38 #  [8] report_assertion_failure(0xfe2a54d9, 0xfe2a54e3, 0x2cc, 0xfe2a5527, 0xfffffff8, 0x3f2b8), at 0xfda1e5e8
  39 # [9] methodOopDesc::jni_id(0xf590a2f0, 0x3e868, 0x8, 0xffbed760, 0xf590a3ac, 0xffbed664), at 0xfdcd7a2c
  40  # [10] JvmdiThreadState::compare_and_set_current_location(0x3f450, 0xf590a2f0, 0xf590a33f, 0x1, 0x1, 0x3e868), at 0xfdc0f670
  41 #  [11] jvmdi::at_single_stepping_point(0x3e868, 0xf590a2f0, 0xf590a33f, 0x5, 0x0, 0x0), at 0xfdc29184
  42 #  [12] InterpreterRuntime::at_safepoint(0x3e868, 0xb6, 0x2, 0xf9c28744, 0xf590a038, 0xffbed880), at 0xfdb0d590
  43 
  44 # These are variables that can be set to control execution
  45 
  46 compileOptions=-g
  47 
  48 createJavaFile()
  49 {
  50     cat <<EOF > $1.java.1
  51 
  52 public class $1 {
  53     static public void main(String[] args) {


< prev index next >