Skip to content
This repository has been archived by the owner. It is now read-only.
Browse files
8269614: [s390] Interpreter checks wrong bit for slow path instance a…

Reviewed-by: shade, rrich
  • Loading branch information
TheRealMDoerr committed Jun 30, 2021
1 parent 4b4bef4 commit be0ac92e186c7b2845e251ce56204a2378f76976
Showing 1 changed file with 1 addition and 2 deletions.
@@ -3768,9 +3768,8 @@ void TemplateTable::_new() {

// Get instance_size in InstanceKlass (scaled to a count of bytes).
Register Rsize = offset;
const int mask = 1 << Klass::_lh_instance_slow_path_bit;
__ z_llgf(Rsize, Address(iklass, Klass::layout_helper_offset()));
__ z_tmll(Rsize, mask);
__ z_tmll(Rsize, Klass::_lh_instance_slow_path_bit);
__ z_btrue(slow_case);

// Allocate the instance

1 comment on commit be0ac92

Copy link

@openjdk-notifier openjdk-notifier bot commented on be0ac92 Jun 30, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.