revise to support swap and latency hints again, in regular and GC allocation