RFR 8065579: WB method to start G1 concurrent mark cycle should be introduced

Thomas Schatzl thomas.schatzl at oracle.com
Thu Nov 27 08:31:18 UTC 2014


Hi,

  from the "Add method to WhiteBox to get vm pagesize" thread:

On 27/11/2014 3:36 AM, Yumin Qi wrote:
> Thanks for the review. Yes, the test will build testlibrary with
>
> @library /testlibrary /testlibrary/whitebox

No that won't necessarily build the testlibrary.

 From other email:

 >> I'm having a problem running a test in 8u25 that uses the
testlibrary
 >> ProcessTools API. I get a ClassNotFoundException. Looking in the
 >> classes directory I only see two testlibrary classes - which map to
 >> two specific testlibrary classes that one test has on its @build
 >> line. The test in question simply has:
 >>
 >> @library /testlibrary
 >>
 >> Does it need an explicit:
 >>
 >> @build com.oracle.java.testlibrary.*
 >
 > Yes. It turns out that JTReg might not compile the library classes on
 > demand (but it does sometimes). So it is better to specify the
 > required build manually.
 >
 > -JB-

David
-----

>
> Thanks


I.e. you apparently also need to explicitly @build the testlibrary
stuff.

Thanks,
  Thomas



More information about the hotspot-gc-dev mailing list