GcLock speculative stuff

This patch introduces new “speculative” locking primitives.