ZGC achieves sub-millisecond pauses using 'colored pointers' that embed metadata directly into object references and 'load barriers' to manage concurrent object relocation. Shenandoah employs 'Brooks forwarding pointers,' an extra field in each object pointing to its current location, which is updated during concurrent compaction to minimize application pauses.