We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
to_object_reference()
1 parent 59ff055 commit a58246dCopy full SHA for a58246d
src/memory_manager.rs
@@ -631,8 +631,8 @@ pub fn is_live_object(object: ObjectReference) -> bool {
631
/// Check if `addr` is the address of an object reference to an MMTk object.
632
///
633
/// Concretely:
634
-/// 1. Return true if `addr.to_object_reference()` is a valid object reference to an object in any
635
-/// space in MMTk.
+/// 1. Return true if `ObjectReference::from_raw_address(addr)` is a valid object reference to an
+/// object in any space in MMTk.
636
/// 2. Also return true if there exists an `objref: ObjectReference` such that
637
/// - `objref` is a valid object reference to an object in any space in MMTk, and
638
/// - `lo <= objref.to_address() < hi`, where
0 commit comments