Guest User

Untitled

a guest
Jan 24th, 2021
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 23.54 KB | None | 0 0
  1. Executing [
  2. /opt/java/bin/java \
  3. -XX:+UseParallelGC \
  4. -XX:+UnlockExperimentalVMOptions \
  5. -XX:+EnableJVMCI \
  6. -Dtruffle.TrustAllTruffleRuntimeProviders=true \
  7. -Dtruffle.TruffleRuntime=com.oracle.truffle.api.impl.DefaultTruffleRuntime \
  8. -Dgraalvm.ForcePolyglotInvalid=true \
  9. -Dgraalvm.locatorDisabled=true \
  10. -Dsubstratevm.IgnoreGraalVersionCheck=true \
  11. --add-exports=jdk.internal.vm.ci/jdk.vm.ci.aarch64=ALL-UNNAMED \
  12. --add-exports=jdk.internal.vm.ci/jdk.vm.ci.amd64=ALL-UNNAMED \
  13. --add-exports=jdk.internal.vm.ci/jdk.vm.ci.code.site=ALL-UNNAMED \
  14. --add-exports=jdk.internal.vm.ci/jdk.vm.ci.code.stack=ALL-UNNAMED \
  15. --add-exports=jdk.internal.vm.ci/jdk.vm.ci.code=ALL-UNNAMED \
  16. --add-exports=jdk.internal.vm.ci/jdk.vm.ci.common=ALL-UNNAMED \
  17. --add-exports=jdk.internal.vm.ci/jdk.vm.ci.hotspot.aarch64=ALL-UNNAMED \
  18. --add-exports=jdk.internal.vm.ci/jdk.vm.ci.hotspot.amd64=ALL-UNNAMED \
  19. --add-exports=jdk.internal.vm.ci/jdk.vm.ci.hotspot.sparc=ALL-UNNAMED \
  20. --add-exports=jdk.internal.vm.ci/jdk.vm.ci.hotspot=ALL-UNNAMED \
  21. --add-exports=jdk.internal.vm.ci/jdk.vm.ci.meta=ALL-UNNAMED \
  22. --add-exports=jdk.internal.vm.ci/jdk.vm.ci.runtime=ALL-UNNAMED \
  23. --add-exports=jdk.internal.vm.ci/jdk.vm.ci.services=ALL-UNNAMED \
  24. --add-exports=jdk.internal.vm.ci/jdk.vm.ci.sparc=ALL-UNNAMED \
  25. --add-exports=org.graalvm.truffle/com.oracle.truffle.api=ALL-UNNAMED \
  26. --add-opens=jdk.internal.vm.compiler/org.graalvm.compiler.debug=ALL-UNNAMED \
  27. --add-opens=jdk.internal.vm.compiler/org.graalvm.compiler.nodes=ALL-UNNAMED \
  28. --add-opens=jdk.unsupported/sun.reflect=ALL-UNNAMED \
  29. --add-opens=java.base/jdk.internal.module=ALL-UNNAMED \
  30. --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED \
  31. --add-opens=java.base/jdk.internal.reflect=ALL-UNNAMED \
  32. --add-opens=java.base/java.io=ALL-UNNAMED \
  33. --add-opens=java.base/java.lang=ALL-UNNAMED \
  34. --add-opens=java.base/java.lang.reflect=ALL-UNNAMED \
  35. --add-opens=java.base/java.lang.invoke=ALL-UNNAMED \
  36. --add-opens=java.base/java.lang.ref=ALL-UNNAMED \
  37. --add-opens=java.base/java.net=ALL-UNNAMED \
  38. --add-opens=java.base/java.nio=ALL-UNNAMED \
  39. --add-opens=java.base/java.nio.file=ALL-UNNAMED \
  40. --add-opens=java.base/java.security=ALL-UNNAMED \
  41. --add-opens=java.base/javax.crypto=ALL-UNNAMED \
  42. --add-opens=java.base/java.util=ALL-UNNAMED \
  43. --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED \
  44. --add-opens=java.base/sun.security.x509=ALL-UNNAMED \
  45. --add-opens=java.base/jdk.internal.logger=ALL-UNNAMED \
  46. --add-opens=org.graalvm.sdk/org.graalvm.nativeimage.impl=ALL-UNNAMED \
  47. --add-opens=org.graalvm.sdk/org.graalvm.polyglot=ALL-UNNAMED \
  48. --add-opens=org.graalvm.truffle/com.oracle.truffle.polyglot=ALL-UNNAMED \
  49. --add-opens=org.graalvm.truffle/com.oracle.truffle.api.impl=ALL-UNNAMED \
  50. -XX:+UseJVMCINativeLibrary \
  51. -Xss10m \
  52. -Xms1g \
  53. -Xmx13315289904 \
  54. -Duser.country=US \
  55. -Duser.language=en \
  56. -Djava.awt.headless=true \
  57. -Dorg.graalvm.version=20.2.1-dev \
  58. -Dorg.graalvm.config= \
  59. -Dcom.oracle.graalvm.isaot=true \
  60. -Djava.system.class.loader=com.oracle.svm.hosted.NativeImageSystemClassLoader \
  61. -Xshare:off \
  62. --module-path \
  63. /opt/java/lib/truffle/truffle-api.jar \
  64. -javaagent:/opt/java/lib/svm/builder/svm.jar=traceInitialization \
  65. -Djdk.internal.lambda.disableEagerInitialization=true \
  66. -Djdk.internal.lambda.eagerlyInitialize=false \
  67. -Djava.lang.invoke.InnerClassLambdaMetafactory.initializeLambdas=false \
  68. -Dclojure.spec.skip-macros=true \
  69. -Dclojure.compiler.direct-linking=true \
  70. -Xmx3g \
  71. -cp \
  72. /opt/java/lib/svm/builder/svm-llvm.jar:/opt/java/lib/svm/builder/javacpp-shadowed.jar:/opt/java/lib/svm/builder/pointsto.jar:/opt/java/lib/svm/builder/objectfile.jar:/opt/java/lib/svm/builder/llvm-platform-specific-shadowed.jar:/opt/java/lib/svm/builder/svm.jar:/opt/java/lib/svm/builder/llvm-wrapper-shadowed.jar \
  73. 'com.oracle.svm.hosted.NativeImageGeneratorRunner$JDK9Plus' \
  74. -watchpid \
  75. 1 \
  76. -imagecp \
  77. /opt/java/lib/svm/library-support.jar:/clojure-lsp/target/clojure-lsp-2021.01.22-13.04.28-standalone.jar \
  78. -H:Path=/ \
  79. -H:Class=clojure_lsp.main \
  80. -H:ClassInitialization=org.graalvm.polyglot:build_time \
  81. -H:Features=org.graalvm.home.HomeFinderFeature \
  82. -H:ReflectionConfigurationResources=META-INF/native-image/io.netty/transport/reflection-config.json \
  83. -H:ClassInitialization=io.netty.handler.ssl.util.ThreadLocalInsecureRandom:run_time \
  84. -H:ClassInitialization=io.netty.util.AbstractReferenceCounted:run_time \
  85. -H:ClassInitialization=io.netty.buffer.PooledByteBufAllocator:run_time,io.netty.buffer.ByteBufAllocator:run_time,io.netty.buffer.ByteBufUtil:run_time,io.netty.buffer.AbstractReferenceCountedByteBuf:run_time \
  86. -H:+ReportExceptionStackTraces \
  87. -H:ClassInitialization=:build_time \
  88. -H:+TraceClassInitialization \
  89. '-H:IncludeResources='"'"'db/.*|static/.*|templates/.*|.*.yml|.*.xml|.*/org/sqlite/.*|org/sqlite/.*|.*.xml|.*.conf'"'"'' \
  90. -H:+ReportUnsupportedElementsAtRuntime \
  91. -H:Log=registerResource: \
  92. -H:+AllowIncompleteClasspath \
  93. -H:FallbackThreshold=0 \
  94. -H:+StaticExecutable \
  95. -H:CLibraryPath=/opt/java/lib/svm/clibraries/linux-amd64 \
  96. -H:ReflectionConfigurationFiles=/clojure-lsp/graalvm/reflection.json \
  97. -H:Name=clojure-lsp \
  98.  
  99. ]
  100. [clojure-lsp:25]    classlist:  29,209.40 ms,  1.48 GB
  101. [clojure-lsp:25]        (cap):   1,486.53 ms,  1.48 GB
  102. [clojure-lsp:25]        setup:   4,750.45 ms,  1.48 GB
  103. > Loading classes for future reflection support
  104. > Declaring class: org.sqlite.core.NativeDB
  105.         > method: changes([])
  106.         > method: set_update_listener([boolean])
  107.         > method: throwex([class java.lang.String])
  108.         > method: busy_timeout([int])
  109.         > method: busy_handler([class org.sqlite.BusyHandler])
  110.         > method: libversion([])
  111.         > method: total_changes([])
  112.         > method: shared_cache([boolean])
  113.         > method: enable_load_extension([boolean])
  114.         > method: _open([class java.lang.String, int])
  115.         > method: _exec([class java.lang.String])
  116.         > method: clear_bindings([long])
  117.         > method: bind_parameter_count([long])
  118.         > method: column_count([long])
  119.         > method: column_type([long, int])
  120.         > method: column_decltype([long, int])
  121.         > method: column_table_name([long, int])
  122.         > method: column_name([long, int])
  123.         > method: column_text([long, int])
  124.         > method: column_blob([long, int])
  125.         > method: column_double([long, int])
  126.         > method: column_long([long, int])
  127.         > method: column_int([long, int])
  128.         > method: bind_null([long, int])
  129.         > method: bind_int([long, int, int])
  130.         > method: bind_long([long, int, long])
  131.         > method: bind_double([long, int, double])
  132.         > method: bind_text([long, int, class java.lang.String])
  133.         > method: bind_blob([long, int, class [B])
  134.         > method: result_null([long])
  135.         > method: result_text([long, class java.lang.String])
  136.         > method: result_blob([long, class [B])
  137.         > method: result_double([long, double])
  138.         > method: result_long([long, long])
  139.         > method: result_int([long, int])
  140.         > method: result_error([long, class java.lang.String])
  141.         > method: value_text([class org.sqlite.Function, int])
  142.         > method: value_blob([class org.sqlite.Function, int])
  143.         > method: value_double([class org.sqlite.Function, int])
  144.         > method: value_long([class org.sqlite.Function, int])
  145.         > method: value_int([class org.sqlite.Function, int])
  146.         > method: value_type([class org.sqlite.Function, int])
  147.         > method: create_function([class java.lang.String, class org.sqlite.Function, int, int])
  148.         > method: destroy_function([class java.lang.String, int])
  149.         > method: free_functions([])
  150.         > method: register_progress_handler([int, class org.sqlite.ProgressHandler])
  151.         > method: clear_progress_handler([])
  152.         > method: column_metadata([long])
  153.         > method: set_commit_listener([boolean])
  154.         > method: backup([class [B, class [B, interface org.sqlite.core.DB$ProgressObserver])
  155.         > method: backup([class java.lang.String, class java.lang.String, interface org.sqlite.core.DB$ProgressObserver])
  156.         > method: _open_utf8([class [B, int])
  157.         > method: restore([class java.lang.String, class java.lang.String, interface org.sqlite.core.DB$ProgressObserver])
  158.         > method: restore([class [B, class [B, interface org.sqlite.core.DB$ProgressObserver])
  159.         > method: _close([])
  160.         > method: step([long])
  161.         > method: errmsg([])
  162.         > method: _exec_utf8([class [B])
  163.         > method: prepare_utf8([class [B])
  164.         > method: errmsg_utf8([])
  165.         > method: libversion_utf8([])
  166.         > method: column_decltype_utf8([long, int])
  167.         > method: column_table_name_utf8([long, int])
  168.         > method: column_name_utf8([long, int])
  169.         > method: column_text_utf8([long, int])
  170.         > method: bind_text_utf8([long, int, class [B])
  171.         > method: result_text_utf8([long, class [B])
  172.         > method: result_error_utf8([long, class [B])
  173.         > method: value_text_utf8([class org.sqlite.Function, int])
  174.         > method: create_function_utf8([class [B, class org.sqlite.Function, int, int])
  175.         > method: destroy_function_utf8([class [B, int])
  176.         > method: stringToUtf8ByteArray([class java.lang.String])
  177.         > method: utf8ByteBufferToString([class java.nio.ByteBuffer])
  178.         > method: finalize([long])
  179.         > method: limit([int, int])
  180.         > method: load([])
  181.         > method: interrupt([])
  182.         > method: prepare([class java.lang.String])
  183.         > method: reset([long])
  184.         > field: pointer
  185.         > field: isLoaded
  186.         > field: loadSucceeded
  187.         > field: udfdatalist
  188.         > constructor: org.sqlite.core.NativeDB(3)
  189. > Declaring class: org.sqlite.Function
  190.         > method: value_text([int])
  191.         > method: value_blob([int])
  192.         > method: value_double([int])
  193.         > method: value_long([int])
  194.         > method: value_int([int])
  195.         > method: value_type([int])
  196.         > method: checkValue([int])
  197.         > method: error([class java.lang.String])
  198.         > method: checkContext([])
  199.         > method: xFunc([])
  200.         > method: result([long])
  201.         > method: result([class [B])
  202.         > method: result([double])
  203.         > method: result([class java.lang.String])
  204.         > method: result([])
  205.         > method: result([int])
  206.         > method: args([])
  207.         > method: destroy([interface java.sql.Connection, class java.lang.String])
  208.         > method: destroy([interface java.sql.Connection, class java.lang.String, int])
  209.         > method: create([interface java.sql.Connection, class java.lang.String, class org.sqlite.Function, int, int])
  210.         > method: create([interface java.sql.Connection, class java.lang.String, class org.sqlite.Function])
  211.         > method: create([interface java.sql.Connection, class java.lang.String, class org.sqlite.Function, int])
  212.         > field: FLAG_DETERMINISTIC
  213.         > field: conn
  214.         > field: db
  215.         > field: context
  216.         > field: value
  217.         > field: args
  218.         > constructor: org.sqlite.Function(0)
  219. > Declaring class: org.sqlite.Function.Aggregate
  220.         > method: xFinal([])
  221.         > method: xStep([])
  222.         > method: xFunc([])
  223.         > method: clone([])
  224.         > constructor: org.sqlite.Function$Aggregate(0)
  225. > Declaring class: org.sqlite.ProgressHandler
  226.         > method: clearHandler([interface java.sql.Connection])
  227.         > method: progress([])
  228.         > method: setHandler([interface java.sql.Connection, int, class org.sqlite.ProgressHandler])
  229.         > constructor: org.sqlite.ProgressHandler(0)
  230. > Declaring class: org.sqlite.Function.Window
  231.         > method: xInverse([])
  232.         > method: xValue([])
  233.         > constructor: org.sqlite.Function$Window(0)
  234. > Declaring class: org.sqlite.core.DB.ProgressObserver
  235.         > method: progress([int, int])
  236. SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
  237. SLF4J: Defaulting to no-operation (NOP) logger implementation
  238. SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
  239. [Use -Dgraal.LogFile=<path> to redirect Graal log output to a file.]
  240. [thread:37] scope: ForkJoinPool-4-worker-3
  241.   [thread:37] scope: ForkJoinPool-4-worker-3.registerResource
  242.   ServiceLoaderFeature: registerResource: META-INF/services/java.nio.file.spi.FileSystemProvider
  243.   [thread:37] scope: ForkJoinPool-4-worker-3.registerResource
  244.   ServiceLoaderFeature: registerResource: META-INF/services/com.fasterxml.jackson.core.JsonFactory
  245.   [thread:37] scope: ForkJoinPool-4-worker-3.registerResource
  246.   ServiceLoaderFeature: registerResource: META-INF/services/java.sql.Driver
  247.   [thread:37] scope: ForkJoinPool-4-worker-3.registerResource
  248.   Resources have been added by ServiceLoaderFeature. Automatic registration can be disabled with -H:-UseServiceLoaderFeature
  249. Warning: class initialization of class io.netty.util.internal.logging.Log4JLogger failed with exception java.lang.NoClassDefFoundError: org/apache/log4j/Priority. This class will be initialized at run time because option --allow-incomplete-classpath is used for image building. Use the option --initialize-at-run-time=io.netty.util.internal.logging.Log4JLogger to explicitly request delayed initialization of this class.
  250. [clojure-lsp:25]     (clinit):     763.16 ms,  2.28 GB
  251. [clojure-lsp:25]   (typeflow):  37,838.92 ms,  2.28 GB
  252. [clojure-lsp:25]    (objects): 122,598.56 ms,  2.28 GB
  253. [clojure-lsp:25]   (features):   6,570.64 ms,  2.28 GB
  254. [clojure-lsp:25]     analysis: 176,543.76 ms,  2.28 GB
  255. Error: Unsupported features in 2 methods
  256. Detailed message:
  257. Error: Detected a started Thread in the image heap. Threads running in the image generator are no longer running at image run time.  Object has been initialized without the native-image initialization instrumentation and the stack trace can't be tracked. The object was probably created by a class initializer and is reachable from a static field. You can request class initialization at image run time by using the option --initialize-at-run-time=<class-name>. Or you can write your own initialization methods and call them explicitly from your main entry point.
  258. Trace: Object was reached by
  259.        reading field java.util.concurrent.SynchronousQueue$TransferStack$SNode.waiter of
  260.                constant java.util.concurrent.SynchronousQueue$TransferStack$SNode@4a9fb292 reached by
  261.        reading field java.util.concurrent.SynchronousQueue$TransferStack.head of
  262.                constant java.util.concurrent.SynchronousQueue$TransferStack@3ad6db5b reached by
  263.        reading field java.util.concurrent.SynchronousQueue.transferer of
  264.                constant java.util.concurrent.SynchronousQueue@2a3f223b reached by
  265.        reading field java.util.concurrent.ThreadPoolExecutor.workQueue of
  266.                constant java.util.concurrent.ThreadPoolExecutor@65caad3d reached by
  267.        reading field clojure.lang.Agent.soloExecutor
  268. Error: Detected a started Thread in the image heap. Threads running in the image generator are no longer running at image run time.  Object has been initialized without the native-image initialization instrumentation and the stack trace can't be tracked. The object was probably created by a class initializer and is reachable from a static field. You can request class initialization at image run time by using the option --initialize-at-run-time=<class-name>. Or you can write your own initialization methods and call them explicitly from your main entry point.
  269. Trace: Object was reached by
  270.         reading field java.util.concurrent.ThreadPoolExecutor$Worker.thread of
  271.                 constant java.util.concurrent.ThreadPoolExecutor$Worker@5c16abce reached by
  272.         reading field java.util.HashMap$Node.key of
  273.                 constant java.util.HashMap$Node@1ebc8eb reached by
  274.         indexing into array
  275.                 constant java.util.HashMap$Node[]@483a0d42 reached by
  276.         reading field java.util.HashMap.table of
  277.                 constant java.util.HashMap@735313a8 reached by
  278.         reading field java.util.HashSet.map of
  279.                 constant java.util.HashSet@5b6ea412 reached by
  280.         reading field java.util.concurrent.ThreadPoolExecutor.workers of
  281.                 constant java.util.concurrent.ThreadPoolExecutor@65caad3d reached by
  282.         reading field clojure.lang.Agent.soloExecutor
  283.  
  284. com.oracle.svm.core.util.UserError$UserException: Unsupported features in 2 methods
  285. Detailed message:
  286. Error: Detected a started Thread in the image heap. Threads running in the image generator are no longer running at image run time.  Object has been initialized without the native-image initialization instrumentation and the stack trace can't be tracked. The object was probably created by a class initializer and is reachable from a static field. You can request class initialization at image run time by using the option --initialize-at-run-time=<class-name>. Or you can write your own initialization methods and call them explicitly from your main entry point.
  287. Trace: Object was reached by
  288.        reading field java.util.concurrent.SynchronousQueue$TransferStack$SNode.waiter of
  289.                constant java.util.concurrent.SynchronousQueue$TransferStack$SNode@4a9fb292 reached by
  290.        reading field java.util.concurrent.SynchronousQueue$TransferStack.head of
  291.                constant java.util.concurrent.SynchronousQueue$TransferStack@3ad6db5b reached by
  292.        reading field java.util.concurrent.SynchronousQueue.transferer of
  293.                constant java.util.concurrent.SynchronousQueue@2a3f223b reached by
  294.        reading field java.util.concurrent.ThreadPoolExecutor.workQueue of
  295.                constant java.util.concurrent.ThreadPoolExecutor@65caad3d reached by
  296.        reading field clojure.lang.Agent.soloExecutor
  297. Error: Detected a started Thread in the image heap. Threads running in the image generator are no longer running at image run time.  Object has been initialized without the native-image initialization instrumentation and the stack trace can't be tracked. The object was probably created by a class initializer and is reachable from a static field. You can request class initialization at image run time by using the option --initialize-at-run-time=<class-name>. Or you can write your own initialization methods and call them explicitly from your main entry point.
  298. Trace: Object was reached by
  299.         reading field java.util.concurrent.ThreadPoolExecutor$Worker.thread of
  300.                 constant java.util.concurrent.ThreadPoolExecutor$Worker@5c16abce reached by
  301.         reading field java.util.HashMap$Node.key of
  302.                 constant java.util.HashMap$Node@1ebc8eb reached by
  303.         indexing into array
  304.                 constant java.util.HashMap$Node[]@483a0d42 reached by
  305.         reading field java.util.HashMap.table of
  306.                 constant java.util.HashMap@735313a8 reached by
  307.         reading field java.util.HashSet.map of
  308.                 constant java.util.HashSet@5b6ea412 reached by
  309.         reading field java.util.concurrent.ThreadPoolExecutor.workers of
  310.                 constant java.util.concurrent.ThreadPoolExecutor@65caad3d reached by
  311.         reading field clojure.lang.Agent.soloExecutor
  312.  
  313.         at com.oracle.svm.core.util.UserError.abort(UserError.java:79)
  314.         at com.oracle.svm.hosted.FallbackFeature.reportAsFallback(FallbackFeature.java:217)
  315.         at com.oracle.svm.hosted.NativeImageGenerator.runPointsToAnalysis(NativeImageGenerator.java:765)
  316.         at com.oracle.svm.hosted.NativeImageGenerator.doRun(NativeImageGenerator.java:555)
  317.         at com.oracle.svm.hosted.NativeImageGenerator.lambda$run$0(NativeImageGenerator.java:468)
  318.         at java.base/java.util.concurrent.ForkJoinTask$AdaptedRunnableAction.exec(ForkJoinTask.java:1407)
  319.         at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
  320.         at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
  321.         at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
  322.         at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
  323.         at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
  324. Caused by: com.oracle.graal.pointsto.constraints.UnsupportedFeatureException: Unsupported features in 2 methods
  325. Detailed message:
  326. Error: Detected a started Thread in the image heap. Threads running in the image generator are no longer running at image run time.  Object has been initialized without the native-image initialization instrumentation and the stack trace can't be tracked. The object was probably created by a class initializer and is reachable from a static field. You can request class initialization at image run time by using the option --initialize-at-run-time=<class-name>. Or you can write your own initialization methods and call them explicitly from your main entry point.
  327. Trace: Object was reached by
  328.        reading field java.util.concurrent.SynchronousQueue$TransferStack$SNode.waiter of
  329.                constant java.util.concurrent.SynchronousQueue$TransferStack$SNode@4a9fb292 reached by
  330.        reading field java.util.concurrent.SynchronousQueue$TransferStack.head of
  331.                constant java.util.concurrent.SynchronousQueue$TransferStack@3ad6db5b reached by
  332.        reading field java.util.concurrent.SynchronousQueue.transferer of
  333.                constant java.util.concurrent.SynchronousQueue@2a3f223b reached by
  334.        reading field java.util.concurrent.ThreadPoolExecutor.workQueue of
  335.                constant java.util.concurrent.ThreadPoolExecutor@65caad3d reached by
  336.        reading field clojure.lang.Agent.soloExecutor
  337. Error: Detected a started Thread in the image heap. Threads running in the image generator are no longer running at image run time.  Object has been initialized without the native-image initialization instrumentation and the stack trace can't be tracked. The object was probably created by a class initializer and is reachable from a static field. You can request class initialization at image run time by using the option --initialize-at-run-time=<class-name>. Or you can write your own initialization methods and call them explicitly from your main entry point.
  338. Trace: Object was reached by
  339.         reading field java.util.concurrent.ThreadPoolExecutor$Worker.thread of
  340.                 constant java.util.concurrent.ThreadPoolExecutor$Worker@5c16abce reached by
  341.         reading field java.util.HashMap$Node.key of
  342.                 constant java.util.HashMap$Node@1ebc8eb reached by
  343.         indexing into array
  344.                 constant java.util.HashMap$Node[]@483a0d42 reached by
  345.         reading field java.util.HashMap.table of
  346.                 constant java.util.HashMap@735313a8 reached by
  347.         reading field java.util.HashSet.map of
  348.                 constant java.util.HashSet@5b6ea412 reached by
  349.         reading field java.util.concurrent.ThreadPoolExecutor.workers of
  350.                 constant java.util.concurrent.ThreadPoolExecutor@65caad3d reached by
  351.         reading field clojure.lang.Agent.soloExecutor
  352.  
  353.         at com.oracle.graal.pointsto.constraints.UnsupportedFeatures.report(UnsupportedFeatures.java:129)
  354.         at com.oracle.svm.hosted.NativeImageGenerator.runPointsToAnalysis(NativeImageGenerator.java:762)
  355.         ... 8 more
  356. Error: Image build request failed with exit status 1
  357. com.oracle.svm.driver.NativeImage$NativeImageError: Image build request failed with exit status 1
  358.         at com.oracle.svm.driver.NativeImage.showError(NativeImage.java:1558)
  359.         at com.oracle.svm.driver.NativeImage.build(NativeImage.java:1308)
  360.         at com.oracle.svm.driver.NativeImage.performBuild(NativeImage.java:1269)
  361.         at com.oracle.svm.driver.NativeImage.main(NativeImage.java:1228)
  362.         at com.oracle.svm.driver.NativeImage$JDK9Plus.main(NativeImage.java:1740)
  363.  
  364.  
Add Comment
Please, Sign In to add comment