We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96bcfd4 commit 6265481Copy full SHA for 6265481
core/src/main/scala/org/apache/spark/util/SizeEstimator.scala
@@ -132,8 +132,8 @@ object SizeEstimator extends Logging {
132
}
133
134
// java.vm.info provides compressed ref info for IBM and OpenJ9 JDKs
135
- if (System.getProperty("java.vendor").contains("IBM") ||
136
- System.getProperty("java.vendor").contains("OpenJ9")) {
+ val javaVendor = System.getProperty("java.vendor")
+ if (javaVendor.contains("IBM") || javaVendor.contains("OpenJ9")) {
137
return System.getProperty("java.vm.info").contains("Compressed Ref")
138
139
0 commit comments