Skip to content

[native-image] runs forever on closure compiler #428

Closed
@cushon

Description

@cushon

native-image (built at a6781fa) appears to hang when processing https://github.com/google/closure-compiler. The following invocation ran for >90 minutes without finishing:

$ wget https://dl.google.com/closure-compiler/compiler-latest.zip
$ unzip closure-compiler-v20180506.jar
./latest_graalvm/graalvm-1.0.0-rc2-dev/bin/native-image -jar closure-compiler-v20180506.jar
Build on Server(pid: 28200, port: 35863)*
   classlist:     987.20 ms
       (cap):     869.28 ms
       setup:   1,583.04 ms
RecomputeFieldValue.ArrayBaseOffset automatic substitution failed. The automatic substitution registration was attempted because a call to sun.misc.Unsafe.arrayBaseOffset(Class) was detected in the static initializer of com.google.protobuf.UnsafeUtil. Add a RecomputeFieldValue.ArrayBaseOffset manual substitution for com.google.protobuf.UnsafeUtil.
RecomputeFieldValue.FieldOffset automatic substitution failed. The automatic substitution registration was attempted because a call to sun.misc.Unsafe.objectFieldOffset(Field) was detected in the static initializer of com.google.protobuf.UnsafeUtil. Add a RecomputeFieldValue.FieldOffset manual substitution for com.google.protobuf.UnsafeUtil.
...

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions