added JVM cache_get and lock/unlock