More precisely, this sounds like a typical "weak" hash table in a GCed language. There must be prior art for this. Maybe Knuth?
I put "novel" in quotes because the courts seem to use a hair-splitting definition of it. I honestly think that, when faced with a pile of Lego blocks, there are patent lawyers who could argue that it's non-obvious that one could combine them.