XValue () { ReferringObjectsProvider provider = ReferringObjectsProvider.BASIC_JDI; if (DebuggerSettings.getInstance().ENABLE_MEMORY_AGENT) { provider = new MemoryAgentPathsToClosestGCRootsProvider( MemoryAgent.DEFAULT_GC_ROOTS_PATHS_LIMIT, MemoryAgent.DEFAULT_GC_ROOTS_OBJECTS_LIMIT, provider ); } return new JavaReferringObjectsValue(JavaValue.this, provider, null); }