RFR: 8259316: [REDO] C1/C2 compiler support for blackholes [v2]

Igor Ignatyev iignatyev at openjdk.java.net
Thu Apr 22 13:40:23 UTC 2021


On Thu, 22 Apr 2021 10:40:26 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> > to restore the balance in test descriptions, you might want to delete `@build compiler.blackhole.BlackholeTarget` as there is a statically detectable dependency b/w `compiler.blackhole.*Test` and `BlackholeTarget` hence jtreg/javac will build it while building `compiler.blackhole.*Test`
> 
> I don't think that's true... When I remove `@build` from those tests, they fail with missing `BlackholeTarget`.

right, that's b/c you need to add `/` into the list of libraries:

Suggestion:

- * @library /test/lib
- * @build compiler.blackhole.BlackholeTarget
+ * @library /test/lib /

-------------

PR: https://git.openjdk.java.net/jdk/pull/2024


More information about the hotspot-dev mailing list