Skip to content
Permalink
Browse files

Merge

  • Loading branch information
AlanBateman committed Feb 8, 2020
2 parents d52569e + 98f5d98 commit 320b3f8212c0ca097922425410eb2082d387bf13
Showing with 4,818 additions and 6,060 deletions.
  1. +2 −0 .hgtags
  2. +1 −6 doc/building.html
  3. +1 −9 doc/building.md
  4. +14 −14 doc/testing.html
  5. +2 −2 doc/testing.md
  6. +7 −3 make/RunTests.gmk
  7. +1 −2 make/autoconf/flags-cflags.m4
  8. +2 −2 make/autoconf/flags.m4
  9. +2 −2 make/autoconf/toolchain.m4
  10. +5 −4 make/common/MakeBase.gmk
  11. +4 −3 make/hotspot/lib/CompileJvm.gmk
  12. +3 −1 make/test/JtregNativeHotspot.gmk
  13. +0 −12 src/hotspot/cpu/aarch64/c1_LIRAssembler_aarch64.cpp
  14. +0 −1 src/hotspot/cpu/aarch64/c1_LIRGenerator_aarch64.cpp
  15. +2 −5 src/hotspot/cpu/arm/arm.ad
  16. +3 −34 src/hotspot/cpu/arm/c1_LIRAssembler_arm.cpp
  17. +3 −1 src/hotspot/cpu/arm/globalDefinitions_arm.hpp
  18. +25 −6 src/hotspot/cpu/arm/interp_masm_arm.cpp
  19. +5 −5 src/hotspot/cpu/arm/interp_masm_arm.hpp
  20. +29 −1 src/hotspot/cpu/arm/macroAssembler_arm.cpp
  21. +4 −2 src/hotspot/cpu/arm/macroAssembler_arm.hpp
  22. +23 −12 src/hotspot/cpu/arm/sharedRuntime_arm.cpp
  23. +10 −8 src/hotspot/cpu/arm/templateInterpreterGenerator_arm.cpp
  24. +6 −6 src/hotspot/cpu/arm/templateTable_arm.cpp
  25. +0 −29 src/hotspot/cpu/ppc/c1_LIRAssembler_ppc.cpp
  26. +0 −24 src/hotspot/cpu/s390/c1_LIRAssembler_s390.cpp
  27. +0 −29 src/hotspot/cpu/sparc/c1_LIRAssembler_sparc.cpp
  28. +3 −1 src/hotspot/cpu/sparc/globalDefinitions_sparc.hpp
  29. +14 −3 src/hotspot/cpu/x86/assembler_x86.cpp
  30. +8 −5 src/hotspot/cpu/x86/assembler_x86.hpp
  31. +2 −1 src/hotspot/cpu/x86/c1_CodeStubs_x86.cpp
  32. +107 −25 src/hotspot/cpu/x86/c1_LIRAssembler_x86.cpp
  33. +9 −2 src/hotspot/cpu/x86/c1_LIRAssembler_x86.hpp
  34. +47 −4 src/hotspot/cpu/x86/c1_LIRGenerator_x86.cpp
  35. +6 −6 src/hotspot/cpu/x86/c1_LinearScan_x86.cpp
  36. +4 −4 src/hotspot/cpu/x86/c1_MacroAssembler_x86.cpp
  37. +39 −30 src/hotspot/cpu/x86/c1_Runtime1_x86.cpp
  38. +3 −1 src/hotspot/cpu/x86/globalDefinitions_x86.hpp
  39. +79 −58 src/hotspot/cpu/x86/macroAssembler_x86.cpp
  40. +16 −14 src/hotspot/cpu/x86/macroAssembler_x86.hpp
  41. +9 −1 src/hotspot/cpu/x86/methodHandles_x86.cpp
  42. +11 −10 src/hotspot/cpu/x86/stubGenerator_x86_64.cpp
  43. +5 −16 src/hotspot/cpu/x86/templateInterpreterGenerator_x86_64.cpp
  44. +8 −74 src/hotspot/cpu/x86/x86_64.ad
  45. +7 −116 src/hotspot/os/aix/perfMemory_aix.cpp
  46. +3 −2 src/hotspot/os/linux/gc/z/zMountPoint_linux.cpp
  47. +4 −18 src/hotspot/os/linux/gc/z/zNUMA_linux.cpp
  48. +46 −3 src/hotspot/os/linux/gc/z/zPhysicalMemoryBacking_linux.cpp
  49. +2 −0 src/hotspot/os/linux/gc/z/zPhysicalMemoryBacking_linux.hpp
  50. +5 −1 src/hotspot/os/linux/gc/z/zSyscall_linux.cpp
  51. +11 −2 src/hotspot/os/linux/gc/z/zSyscall_linux.hpp
  52. +3 −0 src/hotspot/os/linux/os_linux.cpp
  53. +12 −1 src/hotspot/os/linux/os_linux.hpp
  54. +1 −1 src/hotspot/os_cpu/bsd_zero/atomic_bsd_zero.hpp
  55. +13 −13 src/hotspot/os_cpu/bsd_zero/os_bsd_zero.cpp
  56. +13 −13 src/hotspot/os_cpu/linux_zero/os_linux_zero.cpp
  57. +1 −0 src/hotspot/share/c1/c1_CodeStubs.hpp
  58. +0 −6 src/hotspot/share/c1/c1_LIR.cpp
  59. +0 −5 src/hotspot/share/c1/c1_LIR.hpp
  60. +7 −15 src/hotspot/share/c1/c1_LIRAssembler.cpp
  61. +0 −7 src/hotspot/share/c1/c1_LIRAssembler.hpp
  62. +8 −3 src/hotspot/share/c1/c1_LinearScan.cpp
  63. +1 −1 src/hotspot/share/c1/c1_LinearScan.hpp
  64. +5 −11 src/hotspot/share/gc/g1/g1CollectedHeap.cpp
  65. +3 −3 src/hotspot/share/gc/g1/g1CollectedHeap.hpp
  66. +3 −2 src/hotspot/share/gc/g1/g1ConcurrentMark.cpp
  67. +6 −5 src/hotspot/share/gc/g1/g1ConcurrentMark.hpp
  68. +2 −2 src/hotspot/share/gc/g1/g1FullGCMarkTask.cpp
  69. +1 −1 src/hotspot/share/gc/g1/g1FullGCMarkTask.hpp
  70. +3 −2 src/hotspot/share/gc/g1/g1FullGCMarker.cpp
  71. +2 −2 src/hotspot/share/gc/g1/g1FullGCMarker.hpp
  72. +1 −1 src/hotspot/share/gc/g1/g1FullGCReferenceProcessorExecutor.hpp
  73. +1 −2 src/hotspot/share/gc/parallel/psCompactionManager.hpp
  74. +7 −10 src/hotspot/share/gc/parallel/psParallelCompact.cpp
  75. +0 −2 src/hotspot/share/gc/parallel/psParallelCompact.hpp
  76. +4 −7 src/hotspot/share/gc/parallel/psScavenge.cpp
  77. +0 −4 src/hotspot/share/gc/shared/gc_globals.hpp
  78. +1 −5 src/hotspot/share/gc/shared/genCollectedHeap.cpp
  79. +0 −81 src/hotspot/share/gc/shared/owstTaskTerminator.hpp
  80. +1 −9 src/hotspot/share/gc/shared/space.hpp
  81. +53 −14 src/hotspot/share/gc/shared/{owstTaskTerminator.cpp → taskTerminator.cpp}
  82. +106 −0 src/hotspot/share/gc/shared/taskTerminator.hpp
  83. +1 −170 src/hotspot/share/gc/shared/taskqueue.cpp
  84. +0 −83 src/hotspot/share/gc/shared/taskqueue.hpp
  85. +15 −15 src/hotspot/share/gc/shenandoah/shenandoahConcurrentMark.cpp
  86. +5 −4 src/hotspot/share/gc/shenandoah/shenandoahConcurrentMark.hpp
  87. +1 −9 src/hotspot/share/gc/shenandoah/shenandoahTaskqueue.cpp
  88. +3 −17 src/hotspot/share/gc/shenandoah/shenandoahTaskqueue.hpp
  89. +18 −18 src/hotspot/share/gc/shenandoah/shenandoahTraversalGC.cpp
  90. +5 −4 src/hotspot/share/gc/shenandoah/shenandoahTraversalGC.hpp
  91. +3 −2 src/hotspot/share/gc/z/zHeuristics.cpp
  92. +0 −1 src/hotspot/share/gc/z/zNUMA.cpp
  93. +2 −2 src/hotspot/share/gc/z/zPage.inline.hpp
  94. +5 −2 src/hotspot/share/gc/z/zPhysicalMemory.cpp
  95. +1 −5 src/hotspot/share/gc/z/zUtils.hpp
  96. +0 −4 src/hotspot/share/gc/z/z_globals.hpp
  97. +23 −15 src/hotspot/share/jfr/leakprofiler/checkpoint/objectSampleCheckpoint.cpp
  98. +2 −2 src/hotspot/share/jfr/leakprofiler/checkpoint/objectSampleCheckpoint.hpp
  99. +7 −0 src/hotspot/share/jfr/metadata/metadata.xml
  100. +1 −1 src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.hpp
  101. +11 −5 src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp
  102. +12 −7 src/hotspot/share/jfr/recorder/stacktrace/jfrStackTrace.cpp
  103. +4 −2 src/hotspot/share/jfr/recorder/stacktrace/jfrStackTrace.hpp
  104. +65 −0 src/hotspot/share/jfr/support/jfrMethodLookup.cpp
  105. +43 −0 src/hotspot/share/jfr/support/jfrMethodLookup.hpp
  106. +1 −2 src/hotspot/share/logging/logConfiguration.cpp
  107. +7 −7 src/hotspot/share/logging/logDecorations.cpp
  108. +0 −3 src/hotspot/share/logging/logDecorations.hpp
  109. +2 −1 src/hotspot/share/logging/logTag.hpp
  110. +1 −3 src/hotspot/share/memory/operator_new.cpp
  111. +1 −1 src/hotspot/share/oops/instanceKlass.cpp
  112. +8 −5 src/hotspot/share/opto/escape.cpp
  113. +5 −2 src/hotspot/share/opto/phaseX.cpp
  114. +1 −1 src/hotspot/share/prims/jvm.cpp
  115. +5 −3 src/hotspot/share/prims/unsafe.cpp
  116. +1 −9 src/hotspot/share/runtime/arguments.cpp
  117. +2 −2 src/hotspot/share/runtime/mutexLocker.cpp
  118. +30 −27 src/hotspot/share/runtime/objectMonitor.cpp
  119. +34 −9 src/hotspot/share/runtime/objectMonitor.hpp
  120. +72 −3 src/hotspot/share/runtime/objectMonitor.inline.hpp
  121. +713 −300 src/hotspot/share/runtime/synchronizer.cpp
  122. +14 −11 src/hotspot/share/runtime/synchronizer.hpp
  123. +1 −2 src/hotspot/share/runtime/thread.hpp
  124. +13 −0 src/hotspot/share/services/heapDumper.cpp
  125. +1 −7 src/hotspot/share/utilities/compilerWarnings_gcc.hpp
  126. +1 −8 src/hotspot/share/utilities/debug.hpp
  127. +3 −24 src/hotspot/share/utilities/globalDefinitions_gcc.hpp
  128. +2 −2 src/hotspot/share/utilities/ostream.cpp
  129. +18 −2 src/java.base/macosx/native/libjli/java_md_macosx.m
  130. +2 −11 src/java.base/share/classes/java/lang/reflect/Proxy.java
  131. +0 −2,031 src/java.base/share/classes/java/lang/reflect/ProxyGenerator_v49.java
  132. +18 −3 src/java.base/share/classes/java/net/DatagramSocket.java
  133. +1 −1 src/java.base/share/classes/java/net/DatagramSocketImplWrapper.java
  134. +8 −7 src/java.base/share/classes/java/nio/X-Buffer.java.template
  135. +3 −3 src/java.base/share/classes/java/text/CalendarBuilder.java
  136. +16 −1 src/java.base/share/classes/jdk/internal/misc/Unsafe.java
  137. +4 −3 src/java.base/share/classes/sun/security/provider/certpath/OCSPResponse.java
  138. +6 −5 src/java.base/windows/native/libjava/java_props_md.c
  139. +4 −1 src/java.security.jgss/share/native/libj2gss/NativeFunc.c
  140. +2 −2 src/java.security.jgss/share/native/libj2gss/NativeFunc.h
  141. +3 −3 src/jdk.crypto.mscapi/windows/native/libsunmscapi/security.cpp
  142. +4 −3 src/jdk.incubator.foreign/share/classes/jdk/internal/foreign/Utils.java
  143. BIN ...k.incubator.jpackage/macosx/classes/jdk/incubator/jpackage/internal/resources/background_dmg.tiff
  144. +5 −5 ...tor.jpackage/windows/classes/jdk/incubator/jpackage/internal/resources/MsiInstallerStrings_ja.wxl
  145. +5 −5 ....jpackage/windows/classes/jdk/incubator/jpackage/internal/resources/MsiInstallerStrings_zh_CN.wxl
  146. +0 −26 ...incubator.jpackage/windows/classes/jdk/incubator/jpackage/internal/resources/WinLauncher.template
  147. +3 −1 src/jdk.javadoc/share/classes/jdk/javadoc/internal/api/JavadocTaskImpl.java
  148. +2 −1 src/jdk.javadoc/share/classes/jdk/javadoc/internal/api/JavadocTool.java
  149. +1 −4 ...vadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/AbstractExecutableMemberWriter.java
  150. +17 −58 ...avadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/AnnotationTypeFieldWriterImpl.java
  151. +1 −19 ...are/classes/jdk/javadoc/internal/doclets/formats/html/AnnotationTypeOptionalMemberWriterImpl.java
  152. +18 −61 ...are/classes/jdk/javadoc/internal/doclets/formats/html/AnnotationTypeRequiredMemberWriterImpl.java
  153. +0 −36 ...jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/AnnotationTypeWriterImpl.java
  154. +0 −60 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/ClassWriterImpl.java
  155. +1 −37 ...k.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/ConstantsSummaryWriterImpl.java
  156. +1 −43 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/ConstructorWriterImpl.java
  157. +2 −1 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/DocFilesHandlerImpl.java
  158. +1 −55 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/EnumConstantWriterImpl.java
  159. +0 −51 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/FieldWriterImpl.java
  160. +20 −15 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlConfiguration.java
  161. +26 −15 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlDoclet.java
  162. +19 −22 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlOptions.java
  163. +8 −0 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlSerialFieldWriter.java
  164. +9 −1 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlSerialMethodWriter.java
  165. +1 −10 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/LinkFactoryImpl.java
  166. +1 −9 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/LinkInfoImpl.java
  167. +4 −10 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/LinkOutputImpl.java
  168. +0 −45 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/MethodWriterImpl.java
  169. +0 −23 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/ModuleWriterImpl.java
  170. +0 −27 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/NestedClassWriterImpl.java
  171. +1 −49 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/PackageWriterImpl.java
  172. +0 −54 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/PropertyWriterImpl.java
  173. +15 −7 ...jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/SerializedFormWriterImpl.java
  174. +23 −66 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/TagletWriterImpl.java
  175. +2 −52 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/WriterFactoryImpl.java
  176. +3 −7 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/Comment.java
  177. +1 −10 ...dk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/FixedStringContent.java
  178. +1 −10 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/HtmlTree.java
  179. +3 −10 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/RawHtml.java
  180. +1 −10 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/StringContent.java
  181. +12 −9 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/BaseConfiguration.java
  182. +11 −1 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/DocletElement.java
  183. +2 −12 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/Messages.java
  184. +2 −1 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/OverviewElement.java
  185. +14 −31 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/Resources.java
  186. +58 −23 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/WorkArounds.java
  187. +1 −4 ...dk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/builders/AnnotationTypeBuilder.java
  188. +0 −3 ...vadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/builders/AnnotationTypeFieldBuilder.java
  189. +1 −7 ...re/classes/jdk/javadoc/internal/doclets/toolkit/builders/AnnotationTypeOptionalMemberBuilder.java
  190. +0 −3 ...re/classes/jdk/javadoc/internal/doclets/toolkit/builders/AnnotationTypeRequiredMemberBuilder.java
  191. +1 −4 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/builders/ClassBuilder.java
  192. +1 −5 ....javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/builders/ConstantsSummaryBuilder.java
  193. +0 −6 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/builders/ConstructorBuilder.java
  194. +0 −3 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/builders/EnumConstantBuilder.java
  195. +0 −3 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/builders/FieldBuilder.java
  196. +0 −6 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/builders/MethodBuilder.java
  197. +0 −3 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/builders/PropertyBuilder.java
  198. +2 −1 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/taglets/BasePropertyTaglet.java
  199. +12 −13 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/taglets/BaseTaglet.java
  200. +2 −4 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/taglets/ThrowsTaglet.java
  201. +14 −31 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/taglets/UserTaglet.java
  202. +1 −3 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/DocPath.java
  203. +2 −1 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/Group.java
  204. +1 −0 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/Utils.java
  205. +4 −1 src/jdk.javadoc/share/classes/jdk/javadoc/internal/tool/JavadocToolProvider.java
  206. +6 −4 src/jdk.javadoc/share/classes/jdk/javadoc/internal/tool/Start.java
  207. +14 −4 src/jdk.javadoc/share/classes/jdk/javadoc/internal/tool/ToolOptions.java
  208. +5 −4 src/jdk.javadoc/share/classes/jdk/javadoc/internal/tool/resources/javadoc.properties
  209. +16 −2 src/jdk.jdeps/share/classes/com/sun/tools/javap/JavapTask.java
  210. +6 −6 src/jdk.jdeps/share/classes/com/sun/tools/javap/resources/javap.properties
  211. +2 −3 src/jdk.jdeps/share/classes/com/sun/tools/jdeps/resources/jdeps_ja.properties
  212. +2 −3 src/jdk.jdeps/share/classes/com/sun/tools/jdeps/resources/jdeps_zh_CN.properties
  213. +5 −1 src/jdk.jfr/share/classes/jdk/jfr/Recording.java
  214. +6 −0 src/jdk.jfr/share/conf/jfr/default.jfc
  215. +6 −0 src/jdk.jfr/share/conf/jfr/profile.jfc
  216. +6 −6 src/jdk.jshell/share/classes/jdk/internal/jshell/tool/resources/l10n_ja.properties
  217. +5 −5 src/jdk.jshell/share/classes/jdk/internal/jshell/tool/resources/l10n_zh_CN.properties
  218. +12 −6 test/hotspot/gtest/logging/test_logDecorations.cpp
  219. +1 −1 test/hotspot/jtreg/TEST.groups
  220. +102 −0 test/hotspot/jtreg/compiler/arraycopy/TestCloneAccessStressGCM.java
  221. +102 −0 ...jtreg/compiler/jvmci/jdk.vm.ci.runtime.test/src/jdk/vm/ci/runtime/test/TestSingleImplementor.java
  222. +0 −63 test/hotspot/jtreg/runtime/7162488/Test7162488.sh
  223. +45 −0 test/hotspot/jtreg/runtime/7162488/TestUnrecognizedVmOption.java
  224. +1 −3 test/hotspot/jtreg/runtime/CommandLine/OptionsValidation/TestOptionsWithRanges_generate.sh
  225. +53 −0 test/hotspot/jtreg/runtime/StackGap/TestStackGap.java
  226. +0 −49 test/hotspot/jtreg/runtime/StackGap/testme.sh
  227. +52 −0 test/hotspot/jtreg/runtime/StackGuardPages/TestStackGuardPages.java
  228. +0 −51 test/hotspot/jtreg/runtime/StackGuardPages/testme.sh
  229. +62 −0 test/hotspot/jtreg/runtime/TLS/TestTLS.java
  230. +0 −52 test/hotspot/jtreg/runtime/TLS/testtls.sh
  231. +22 −3 test/hotspot/jtreg/runtime/Unsafe/AllocateMemory.java
  232. +3 −28 test/hotspot/jtreg/runtime/signal/SigTestDriver.java
  233. +5 −18 .../{jdk/jdk/jfr/event/sampling/libTestNative.c → hotspot/jtreg/testlibrary_tests/process/Test.java}
  234. +44 −0 test/hotspot/jtreg/testlibrary_tests/process/TestNativeProcessBuilder.java
  235. +76 −0 test/hotspot/jtreg/testlibrary_tests/process/exejvm-test-launcher.c
  236. +3 −0 test/hotspot/jtreg/vmTestbase/jit/tiered/Test.java
  237. +54 −0 test/hotspot/jtreg/vmTestbase/metaspace/flags/maxMetaspaceSize/TestMaxMetaspaceSize.java
  238. +0 −45 test/hotspot/jtreg/vmTestbase/metaspace/flags/maxMetaspaceSize/maxMetaspaceSize.sh
  239. +75 −0 test/hotspot/jtreg/vmTestbase/vm/compiler/CodeCacheInfo/Test.java
  240. +0 −60 test/hotspot/jtreg/vmTestbase/vm/compiler/CodeCacheInfo/run.sh
  241. +22 −7 ...otspot/jtreg/vmTestbase/vm/compiler/CodeCacheInfoOnCompilation/{TestDescription.java → Test.java}
  242. +0 −50 test/hotspot/jtreg/vmTestbase/vm/compiler/CodeCacheInfoOnCompilation/run.sh
  243. +0 −6 test/jdk/ProblemList.txt
  244. +1 −6 test/jdk/java/foreign/TestArrays.java
  245. +1 −5 test/jdk/java/foreign/TestByteBuffer.java
  246. +0 −1 test/jdk/java/foreign/TestMemoryAlignment.java
  247. +1 −2 test/jdk/java/lang/reflect/Proxy/ProxyGeneratorCombo.java
  248. +11 −13 test/jdk/java/net/DatagramSocket/SetReceiveBufferSize.java
  249. +120 −0 test/jdk/java/net/DatagramSocketImpl/TestCreate.java
  250. +33 −0 test/jdk/java/nio/Buffer/Basic-X.java.template
  251. +1 −1 test/jdk/java/nio/Buffer/Basic.java
  252. +33 −0 test/jdk/java/nio/Buffer/BasicByte.java
  253. +12 −10 ...ce/flags/maxMetaspaceSize/TestDescription.java → jdk/java/text/Format/DateFormat/Bug8235699.java}
  254. +14 −15 ...tDescription.java → jdk/java/text/Format/DateFormat/java.base/java/text/CalendarBuilderTest.java}
  255. +23 −71 test/jdk/jdk/jfr/api/recording/event/TestPeriod.java
  256. +83 −0 test/jdk/jdk/jfr/event/diagnostics/TestHeapDump.java
  257. +0 −161 test/jdk/jdk/jfr/event/io/EvilInstrument.java
  258. +3 −6 test/jdk/jdk/jfr/event/io/IOEvent.java
  259. +7 −1 test/jdk/jdk/jfr/event/io/IOHelper.java
  260. +17 −16 test/jdk/jdk/jfr/event/io/TestDisabledEvents.java
  261. +69 −69 test/jdk/jdk/jfr/event/io/TestFileChannelEvents.java
  262. +39 −38 test/jdk/jdk/jfr/event/io/TestFileReadOnly.java
  263. +35 −35 test/jdk/jdk/jfr/event/io/TestFileStreamEvents.java
  264. +1 −3 test/jdk/jdk/jfr/event/io/TestInstrumentation.java
  265. +58 −57 test/jdk/jdk/jfr/event/io/TestRandomAccessFileEvents.java
  266. +21 −21 test/jdk/jdk/jfr/event/io/TestRandomAccessFileThread.java
  267. +62 −60 test/jdk/jdk/jfr/event/io/TestSocketChannelEvents.java
  268. +53 −51 test/jdk/jdk/jfr/event/io/TestSocketEvents.java
  269. +2 −6 test/jdk/jdk/jfr/event/metadata/TestLookForUntestedEvents.java
  270. +131 −0 test/jdk/jdk/jfr/event/runtime/TestDumpReason.java
  271. +4 −15 test/jdk/jdk/jfr/event/runtime/TestFlush.java
  272. +29 −10 test/jdk/jdk/jfr/event/runtime/TestShutdownEvent.java
  273. +25 −46 test/jdk/jdk/jfr/event/sampling/TestNative.java
  274. +9 −5 test/jdk/jdk/jfr/jcmd/TestJcmdStartFlushInterval.java
  275. +34 −13 test/jdk/jdk/jfr/jvm/TestDumpOnCrash.java
  276. +2 −2 ...jdk/security/infra/java/security/cert/CertPathValidator/certification/ValidatePathWithParams.java
  277. +13 −4 test/jdk/sun/security/mscapi/KeyAlgorithms.java
  278. +11 −2 test/jdk/sun/security/mscapi/PublicKeyInterop.java
  279. +23 −3 test/jdk/tools/launcher/JliLaunchTest.java
  280. +195 −0 test/langtools/jdk/javadoc/doclet/testDocLintOption/TestDocLintOption.java
  281. +204 −0 test/langtools/jdk/javadoc/tool/testLocaleOption/TestLocaleOption.java
  282. +104 −0 test/langtools/jdk/javadoc/tool/testWErrorOption/TestWErrorOption.java
  283. +4 −4 test/langtools/jdk/javadoc/tool/treeapi/TestDocTrees.java
  284. +33 −1 test/lib/jdk/test/lib/Platform.java
  285. +4 −6 test/lib/jdk/test/lib/jfr/EventNames.java
  286. +46 −1 test/lib/jdk/test/lib/process/ProcessTools.java
  287. +2 −1 test/micro/org/openjdk/bench/java/lang/reflect/Proxy/ProxyBench.java
  288. +2 −2 test/micro/org/openjdk/bench/javax/crypto/small/AESBench.java
@@ -614,3 +614,5 @@ b97c1773ccafae4a8c16cc6aedb10b2a4f9a07ed jdk-15+5
ef7d53b4fccd4a0501b17d974e84f37aa99fa813 jdk-15+6
f728b6c7f4910d6bd6070cb4dde8393f4ba95113 jdk-14+33
e2bc57500c1b785837982f7ce8af6751387ed73b jdk-15+7
a96bc204e3b31ddbf909b20088964112f052927e jdk-14+34
c7d4f2849dbfb755fc5860b362a4044ea0c9e082 jdk-15+8
@@ -301,7 +301,7 @@ <h2 id="native-compiler-toolchain-requirements">Native Compiler (Toolchain) Requ
</table>
<p>All compilers are expected to be able to compile to the C99 language standard, as some C99 features are used in the source code. Microsoft Visual Studio doesn't fully support C99 so in practice shared code is limited to using C99 features that it does support.</p>
<h3 id="gcc">gcc</h3>
<p>The minimum accepted version of gcc is 4.8. Older versions will generate a warning by <code>configure</code> and are unlikely to work.</p>
<p>The minimum accepted version of gcc is 5.0. Older versions will generate a warning by <code>configure</code> and are unlikely to work.</p>
<p>The JDK is currently known to be able to compile with at least version 8.3 of gcc.</p>
<p>In general, any version between these two should be usable.</p>
<h3 id="clang">clang</h3>
@@ -639,11 +639,6 @@ <h3 id="toolchain-considerations">Toolchain Considerations</h3>
<p>You will need two copies of your toolchain, one which generates output that can run on the target system (the normal, or <em>target</em>, toolchain), and one that generates output that can run on the build system (the <em>build</em> toolchain). Note that cross-compiling is only supported for gcc at the time being. The gcc standard is to prefix cross-compiling toolchains with the target denominator. If you follow this standard, <code>configure</code> is likely to pick up the toolchain correctly.</p>
<p>The <em>build</em> toolchain will be autodetected just the same way the normal <em>build</em>/<em>target</em> toolchain will be autodetected when not cross-compiling. If this is not what you want, or if the autodetection fails, you can specify a devkit containing the <em>build</em> toolchain using <code>--with-build-devkit</code> to <code>configure</code>, or by giving <code>BUILD_CC</code> and <code>BUILD_CXX</code> arguments.</p>
<p>It is often helpful to locate the cross-compilation tools, headers and libraries in a separate directory, outside the normal path, and point out that directory to <code>configure</code>. Do this by setting the sysroot (<code>--with-sysroot</code>) and appending the directory when searching for cross-compilations tools (<code>--with-toolchain-path</code>). As a compact form, you can also use <code>--with-devkit</code> to point to a single directory, if it is correctly setup. (See <code>basics.m4</code> for details.)</p>
<p>If you are unsure what toolchain and versions to use, these have been proved working at the time of writing:</p>
<ul>
<li><a href="https://releases.linaro.org/archive/13.11/components/toolchain/binaries/gcc-linaro-aarch64-linux-gnu-4.8-2013.11_linux.tar.xz">aarch64</a></li>
<li><a href="https://launchpad.net/linaro-toolchain-unsupported/trunk/2012.09/+download/gcc-linaro-arm-linux-gnueabihf-raspbian-2012.09-20120921_linux.tar.bz2">arm 32-bit hardware floating point</a></li>
</ul>
<h3 id="native-libraries">Native Libraries</h3>
<p>You will need copies of external native libraries for the <em>target</em> system, present on the <em>build</em> machine while building.</p>
<p>Take care not to replace the <em>build</em> system's version of these libraries by mistake, since that can render the <em>build</em> machine unusable.</p>
@@ -339,7 +339,7 @@ features that it does support.

### gcc

The minimum accepted version of gcc is 4.8. Older versions will generate a warning
The minimum accepted version of gcc is 5.0. Older versions will generate a warning
by `configure` and are unlikely to work.

The JDK is currently known to be able to compile with at least version 8.3 of
@@ -1038,14 +1038,6 @@ appending the directory when searching for cross-compilations tools
to point to a single directory, if it is correctly setup. (See `basics.m4` for
details.)

If you are unsure what toolchain and versions to use, these have been proved
working at the time of writing:

* [aarch64](
https://releases.linaro.org/archive/13.11/components/toolchain/binaries/gcc-linaro-aarch64-linux-gnu-4.8-2013.11_linux.tar.xz)
* [arm 32-bit hardware floating point](
https://launchpad.net/linaro-toolchain-unsupported/trunk/2012.09/+download/gcc-linaro-arm-linux-gnueabihf-raspbian-2012.09-20120921_linux.tar.bz2)

### Native Libraries

You will need copies of external native libraries for the *target* system,
@@ -5,7 +5,7 @@
<meta name="generator" content="pandoc" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<title>Testing the JDK</title>
<style>
<style type="text/css">
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
span.underline{text-decoration: underline;}
@@ -21,9 +21,9 @@
<header id="title-block-header">
<h1 class="title">Testing the JDK</h1>
</header>
<nav id="TOC" role="doc-toc">
<nav id="TOC">
<ul>
<li><a href="#using-make-test-the-run-test-framework">Using "make test" (the run-test framework)</a><ul>
<li><a href="#using-make-test-the-run-test-framework">Using &quot;make test&quot; (the run-test framework)</a><ul>
<li><a href="#configuration">Configuration</a></li>
</ul></li>
<li><a href="#test-selection">Test selection</a><ul>
@@ -47,7 +47,7 @@ <h1 class="title">Testing the JDK</h1>
</ul></li>
</ul>
</nav>
<h2 id="using-make-test-the-run-test-framework">Using "make test" (the run-test framework)</h2>
<h2 id="using-make-test-the-run-test-framework">Using &quot;make test&quot; (the run-test framework)</h2>
<p>This new way of running tests is developer-centric. It assumes that you have built a JDK locally and want to test it. Running common test targets is simple, and more complex ad-hoc combination of tests is possible. The user interface is forgiving, and clearly report errors it cannot resolve.</p>
<p>The main target <code>test</code> uses the jdk-image as the tested product. There is also an alternate target <code>exploded-test</code> that uses the exploded image instead. Not all tests will run successfully on the exploded image, but using this target can greatly improve rebuild times for certain workflows.</p>
<p>Previously, <code>make test</code> was used to invoke an old system for running tests, and <code>make run-test</code> was used for the new test framework. For backward compatibility with scripts and muscle memory, <code>run-test</code> (and variants like <code>exploded-run-test</code> or <code>run-test-tier1</code>) are kept as aliases.</p>
@@ -65,7 +65,7 @@ <h3 id="configuration">Configuration</h3>
<p>To be able to run microbenchmarks, <code>configure</code> needs to know where to find the JMH dependency. Use <code>--with-jmh=&lt;path to JMH jars&gt;</code> to point to a directory containing the core JMH and transitive dependencies. The recommended dependencies can be retrieved by running <code>sh make/devkit/createJMHBundle.sh</code>, after which <code>--with-jmh=build/jmh/jars</code> should work.</p>
<h2 id="test-selection">Test selection</h2>
<p>All functionality is available using the <code>test</code> make target. In this use case, the test or tests to be executed is controlled using the <code>TEST</code> variable. To speed up subsequent test runs with no source code changes, <code>test-only</code> can be used instead, which do not depend on the source and test image build.</p>
<p>For some common top-level tests, direct make targets have been generated. This includes all JTReg test groups, the hotspot gtest, and custom tests (if present). This means that <code>make test-tier1</code> is equivalent to <code>make test TEST="tier1"</code>, but the latter is more tab-completion friendly. For more complex test runs, the <code>test TEST="x"</code> solution needs to be used.</p>
<p>For some common top-level tests, direct make targets have been generated. This includes all JTReg test groups, the hotspot gtest, and custom tests (if present). This means that <code>make test-tier1</code> is equivalent to <code>make test TEST=&quot;tier1&quot;</code>, but the latter is more tab-completion friendly. For more complex test runs, the <code>test TEST=&quot;x&quot;</code> solution needs to be used.</p>
<p>The test specifications given in <code>TEST</code> is parsed into fully qualified test descriptors, which clearly and unambigously show which tests will be run. As an example, <code>:tier1</code> will expand to <code>jtreg:$(TOPDIR)/test/hotspot/jtreg:tier1 jtreg:$(TOPDIR)/test/jdk:tier1 jtreg:$(TOPDIR)/test/langtools:tier1 jtreg:$(TOPDIR)/test/nashorn:tier1 jtreg:$(TOPDIR)/test/jaxp:tier1</code>. You can always submit a list of fully qualified test descriptors in the <code>TEST</code> variable if you want to shortcut the parser.</p>
<h3 id="jtreg">JTReg</h3>
<p>JTReg tests can be selected either by picking a JTReg test group, or a selection of files or directories containing JTReg tests.</p>
@@ -105,8 +105,8 @@ <h2 id="test-results-and-summary">Test results and summary</h2>
<p>Additional work data is stored in <code>build/$BUILD/test-support/$TEST_ID</code>. For some frameworks, this directory might contain information that is useful in determining the cause of a failed test.</p>
<h2 id="test-suite-control">Test suite control</h2>
<p>It is possible to control various aspects of the test suites using make control variables.</p>
<p>These variables use a keyword=value approach to allow multiple values to be set. So, for instance, <code>JTREG="JOBS=1;TIMEOUT_FACTOR=8"</code> will set the JTReg concurrency level to 1 and the timeout factor to 8. This is equivalent to setting <code>JTREG_JOBS=1 JTREG_TIMEOUT_FACTOR=8</code>, but using the keyword format means that the <code>JTREG</code> variable is parsed and verified for correctness, so <code>JTREG="TMIEOUT_FACTOR=8"</code> would give an error, while <code>JTREG_TMIEOUT_FACTOR=8</code> would just pass unnoticed.</p>
<p>To separate multiple keyword=value pairs, use <code>;</code> (semicolon). Since the shell normally eats <code>;</code>, the recommended usage is to write the assignment inside qoutes, e.g. <code>JTREG="...;..."</code>. This will also make sure spaces are preserved, as in <code>JTREG="VM_OPTIONS=-XshowSettings -Xlog:gc+ref=debug"</code>.</p>
<p>These variables use a keyword=value approach to allow multiple values to be set. So, for instance, <code>JTREG=&quot;JOBS=1;TIMEOUT_FACTOR=8&quot;</code> will set the JTReg concurrency level to 1 and the timeout factor to 8. This is equivalent to setting <code>JTREG_JOBS=1 JTREG_TIMEOUT_FACTOR=8</code>, but using the keyword format means that the <code>JTREG</code> variable is parsed and verified for correctness, so <code>JTREG=&quot;TMIEOUT_FACTOR=8&quot;</code> would give an error, while <code>JTREG_TMIEOUT_FACTOR=8</code> would just pass unnoticed.</p>
<p>To separate multiple keyword=value pairs, use <code>;</code> (semicolon). Since the shell normally eats <code>;</code>, the recommended usage is to write the assignment inside qoutes, e.g. <code>JTREG=&quot;...;...&quot;</code>. This will also make sure spaces are preserved, as in <code>JTREG=&quot;VM_OPTIONS=-XshowSettings -Xlog:gc+ref=debug&quot;</code>.</p>
<p>(Other ways are possible, e.g. using backslash: <code>JTREG=JOBS=1\;TIMEOUT_FACTOR=8</code>. Also, as a special technique, the string <code>%20</code> will be replaced with space for certain options, e.g. <code>JTREG=VM_OPTIONS=-XshowSettings%20-Xlog:gc+ref=debug</code>. This can be useful if you have layers of scripts and have trouble getting proper quoting of command line arguments through.)</p>
<p>As far as possible, the names of the keywords have been standardized between test suites.</p>
<h3 id="general-keywords-test_opts">General keywords (TEST_OPTS)</h3>
@@ -135,8 +135,8 @@ <h4 id="timeout_factor-1">TIMEOUT_FACTOR</h4>
<p>The timeout factor (<code>-timeoutFactor</code>).</p>
<p>Defaults to 4.</p>
<h4 id="test_mode">TEST_MODE</h4>
<p>The test mode (<code>-agentvm</code>, <code>-samevm</code> or <code>-othervm</code>).</p>
<p>Defaults to <code>-agentvm</code>.</p>
<p>The test mode (<code>agentvm</code> or <code>othervm</code>).</p>
<p>Defaults to <code>agentvm</code>.</p>
<h4 id="assert">ASSERT</h4>
<p>Enable asserts (<code>-ea -esa</code>, or none).</p>
<p>Set to <code>true</code> or <code>false</code>. If true, adds <code>-ea -esa</code>. Defaults to true, except for hotspot.</p>
@@ -161,7 +161,7 @@ <h4 id="run_problem_lists">RUN_PROBLEM_LISTS</h4>
<p>Set to <code>true</code> or <code>false</code>. If <code>true</code>, JTReg will use <code>-match:</code> option, otherwise <code>-exclude:</code> will be used. Default is <code>false</code>.</p>
<h4 id="options">OPTIONS</h4>
<p>Additional options to the JTReg test framework.</p>
<p>Use <code>JTREG="OPTIONS=--help all"</code> to see all available JTReg options.</p>
<p>Use <code>JTREG=&quot;OPTIONS=--help all&quot;</code> to see all available JTReg options.</p>
<h4 id="java_options-1">JAVA_OPTIONS</h4>
<p>Additional Java options to JTReg (<code>-javaoption</code>).</p>
<h4 id="vm_options-1">VM_OPTIONS</h4>
@@ -176,7 +176,7 @@ <h4 id="repeat">REPEAT</h4>
<p>Default is 1. Set to -1 to repeat indefinitely. This can be especially useful combined with <code>OPTIONS=--gtest_break_on_failure</code> to reproduce an intermittent problem.</p>
<h4 id="options-1">OPTIONS</h4>
<p>Additional options to the Gtest test framework.</p>
<p>Use <code>GTEST="OPTIONS=--help"</code> to see all available Gtest options.</p>
<p>Use <code>GTEST=&quot;OPTIONS=--help&quot;</code> to see all available Gtest options.</p>
<h4 id="aot_modules-2">AOT_MODULES</h4>
<p>Generate AOT modules before testing for the specified module, or set of modules. If multiple modules are specified, they should be separated by space (or, to help avoid quoting issues, the special value <code>%20</code>).</p>
<h3 id="microbenchmark-keywords">Microbenchmark keywords</h3>
@@ -203,7 +203,7 @@ <h3 id="docker-tests">Docker Tests</h3>
<p>To run these tests correctly, additional parameters for the correct docker image are required on Ubuntu 18.04 by using <code>JAVA_OPTIONS</code>.</p>
<pre><code>$ make test TEST=&quot;jtreg:test/hotspot/jtreg/containers/docker&quot; JTREG=&quot;JAVA_OPTIONS=-Djdk.test.docker.image.name=ubuntu -Djdk.test.docker.image.version=latest&quot;</code></pre>
<h3 id="non-us-locale">Non-US locale</h3>
<p>If your locale is non-US, some tests are likely to fail. To work around this you can set the locale to US. On Unix platforms simply setting <code>LANG="en_US"</code> in the environment before running tests should work. On Windows, setting <code>JTREG="VM_OPTIONS=-Duser.language=en -Duser.country=US"</code> helps for most, but not all test cases. For example:</p>
<p>If your locale is non-US, some tests are likely to fail. To work around this you can set the locale to US. On Unix platforms simply setting <code>LANG=&quot;en_US&quot;</code> in the environment before running tests should work. On Windows, setting <code>JTREG=&quot;VM_OPTIONS=-Duser.language=en -Duser.country=US&quot;</code> helps for most, but not all test cases. For example:</p>
<pre><code>$ export LANG=&quot;en_US&quot; &amp;&amp; make test TEST=...
$ make test JTREG=&quot;VM_OPTIONS=-Duser.language=en -Duser.country=US&quot; TEST=...</code></pre>
<h3 id="pkcs11-tests">PKCS11 Tests</h3>
@@ -214,11 +214,11 @@ <h3 id="client-ui-tests">Client UI Tests</h3>
<p>Some Client UI tests use key sequences which may be reserved by the operating system. Usually that causes the test failure. So it is highly recommended to disable system key shortcuts prior testing. The steps to access and disable system key shortcuts for various platforms are provided below.</p>
<h4 id="macos">MacOS</h4>
<p>Choose Apple menu; System Preferences, click Keyboard, then click Shortcuts; select or deselect desired shortcut.</p>
<p>For example, test/jdk/javax/swing/TooltipManager/JMenuItemToolTipKeyBindingsTest/JMenuItemToolTipKeyBindingsTest.java fails on MacOS because it uses <code>CTRL + F1</code> key sequence to show or hide tooltip message but the key combination is reserved by the operating system. To run the test correctly the default global key shortcut should be disabled using the steps described above, and then deselect "Turn keyboard access on or off" option which is responsible for <code>CTRL + F1</code> combination.</p>
<p>For example, test/jdk/javax/swing/TooltipManager/JMenuItemToolTipKeyBindingsTest/JMenuItemToolTipKeyBindingsTest.java fails on MacOS because it uses <code>CTRL + F1</code> key sequence to show or hide tooltip message but the key combination is reserved by the operating system. To run the test correctly the default global key shortcut should be disabled using the steps described above, and then deselect &quot;Turn keyboard access on or off&quot; option which is responsible for <code>CTRL + F1</code> combination.</p>
<h4 id="linux">Linux</h4>
<p>Open the Activities overview and start typing Settings; Choose Settings, click Devices, then click Keyboard; set or override desired shortcut.</p>
<h4 id="windows">Windows</h4>
<p>Type <code>gpedit</code> in the Search and then click Edit group policy; navigate to User Configuration -&gt; Administrative Templates -&gt; Windows Components -&gt; File Explorer; in the right-side pane look for "Turn off Windows key hotkeys" and double click on it; enable or disable hotkeys.</p>
<p>Type <code>gpedit</code> in the Search and then click Edit group policy; navigate to User Configuration -&gt; Administrative Templates -&gt; Windows Components -&gt; File Explorer; in the right-side pane look for &quot;Turn off Windows key hotkeys&quot; and double click on it; enable or disable hotkeys.</p>
<p>Note: restart is required to make the settings take effect.</p>
</body>
</html>
@@ -261,9 +261,9 @@ The timeout factor (`-timeoutFactor`).
Defaults to 4.

#### TEST_MODE
The test mode (`-agentvm`, `-samevm` or `-othervm`).
The test mode (`agentvm` or `othervm`).

Defaults to `-agentvm`.
Defaults to `agentvm`.

#### ASSERT
Enable asserts (`-ea -esa`, or none).
@@ -1073,10 +1073,14 @@ define SetupRunSpecialTestBody
$$(call LogWarn, Test report is stored in $$(strip \
$$(subst $$(TOPDIR)/, , $$($1_TEST_RESULTS_DIR))))
$$(call LogWarn, Warning: Special test results are not properly parsed!)
$$(eval $1_PASSED := 0)
$$(eval $1_FAILED := 0)
$$(eval $1_PASSED := $$(shell \
if [ `$(CAT) $$($1_EXITCODE)` = "0" ]; then $(ECHO) 1; else $(ECHO) 0; fi \
))
$$(eval $1_FAILED := $$(shell \
if [ `$(CAT) $$($1_EXITCODE)` = "0" ]; then $(ECHO) 0; else $(ECHO) 1; fi \
))
$$(eval $1_ERROR := 0)
$$(eval $1_TOTAL := 0)
$$(eval $1_TOTAL := 1)

$1: run-test-$1 parse-test-$1

@@ -604,8 +604,7 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
# our toolchains are in a condition to support that. But what we loosely aim for is
# C99 level.
if test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang || test "x$TOOLCHAIN_TYPE" = xxlc; then
# This raises the language level for older 4.8 gcc, while lowering it for later
# versions. clang and xlclang support the same flag.
# Explicitly set C99. clang and xlclang support the same flag.
LANGSTD_CFLAGS="-std=c99"
elif test "x$TOOLCHAIN_TYPE" = xsolstudio; then
# We can't turn on -std=c99 without breaking compilation of the splashscreen/png

0 comments on commit 320b3f8

Please sign in to comment.