Skip to content

Commit

Permalink
[GR-59073]Failing gdb-debughelpers tests.
Browse files Browse the repository at this point in the history
PullRequest: graal/19043
  • Loading branch information
dominikmascherbauer committed Oct 17, 2024
2 parents c6e7912 + b38d28a commit 3857a02
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def tearDown(self):
gdb_delete_breakpoints()
gdb_kill()

def test_compressed_hub_adr(self):
def test_compressed_hub_oop(self):
gdb_set_breakpoint("com.oracle.svm.test.debug.helper.PrettyPrinterTest::testArrayList")
gdb_continue()
# get a compressed hub
Expand All @@ -100,15 +100,15 @@ def test_compressed_hub_adr(self):
hub = z_hub.dereference()
hub = hub.cast(SVMUtil.get_uncompressed_type(hub.type))
self.assertFalse(SVMUtil.is_compressed(hub.type))
self.assertEqual(SVMUtil.get_compressed_adr(hub), int(z_hub))
self.assertEqual(SVMUtil.get_compressed_oop(hub), int(z_hub))

hub_str = str(hub)
SVMUtil.prompt_hook()
z_hub_str = str(z_hub)
SVMUtil.prompt_hook()
self.assertEqual(hub_str, z_hub_str)

def test_compressed_adr(self):
def test_compressed_oop(self):
gdb_set_breakpoint("com.oracle.svm.test.debug.helper.PrettyPrinterTest::testArrayList")
gdb_continue()
# get a compressed object
Expand All @@ -119,7 +119,7 @@ def test_compressed_adr(self):
name = z_name.dereference()
name = name.cast(SVMUtil.get_uncompressed_type(name.type))
self.assertFalse(SVMUtil.is_compressed(name.type))
self.assertEqual(SVMUtil.get_compressed_adr(name), int(z_name))
self.assertEqual(SVMUtil.get_compressed_oop(name), int(z_name))

name_str = str(name)
SVMUtil.prompt_hook()
Expand Down

0 comments on commit 3857a02

Please sign in to comment.