Advertisement
Guest User

Untitled

a guest
Jul 27th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. For x86_64, in mono_gc_make_root_descr_all_refs when numbits=32 gc_bitmap contains:
  2. ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00
  3. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  4. 00
  5.  
  6. In mono_gc_make_descr_from_bitmap bitmap[0] looks like this -
  7. ff ff ff ff 00 00 00 00
  8.  
  9. And after the shift it becomes -
  10. 00000007fffffff9
  11.  
  12. Whereas for s390x we see:
  13.  
  14. gc_bitmap:
  15. ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00
  16. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  17. 00
  18.  
  19. bitmap[0]:
  20. ff ff ff ff 00 00 00 00
  21.  
  22. Value after shift:
  23. 0xfffffff800000001
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement