mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-216902 High memory usage during Gradle project import: interning temporarily disabled
GitOrigin-RevId: 2bde799705b0ffbeb706f1f361462a550aa9a33b
This commit is contained in:
committed by
intellij-monorepo-bot
parent
db3160961d
commit
e54ecb1782
+7
-5
@@ -798,11 +798,13 @@ public class GradleProjectResolverUtil {
|
||||
}
|
||||
|
||||
public static <T> T intern(ProjectResolverContext context, T value) {
|
||||
if (context == null) {
|
||||
LOG.warn("ProjectResolverContext should not be null, it is used to intern objects");
|
||||
return value;
|
||||
}
|
||||
return ((DefaultProjectResolverContext)context).intern(value);
|
||||
// hot fix for hashing issue
|
||||
return value;
|
||||
//if (context == null) {
|
||||
// LOG.warn("ProjectResolverContext should not be null, it is used to intern objects");
|
||||
// return value;
|
||||
//}
|
||||
//return ((DefaultProjectResolverContext)context).intern(value);
|
||||
}
|
||||
|
||||
public static boolean isIdeaTask(final String taskName, @Nullable String group) {
|
||||
|
||||
Reference in New Issue
Block a user