RFR(S): 8153514: Whitebox API should allow compilation of <clinit>
tobias.hartmann at oracle.com
Wed Apr 6 11:05:52 UTC 2016
On 06.04.2016 12:59, Zoltán Majó wrote:
> Hi Tobias,
> that looks good to me!
> Best regards,
> On 04/06/2016 12:53 PM, Tobias Hartmann wrote:
>> please review the following patch that adds support to the Whitebox API to compile the static initializer of a class:
>> The static initializer is not accessible through reflection and can therefore not be compiled by using the existing WhiteBox::enqueueMethodForCompilation feature.
>> I did not add tests for the new feature because that would require implementing additional methods to check for a successful <clinit> compilation (or parsing the log compilation output). The feature will be exercised by JDK-8153515 which should be enough for testing.
More information about the hotspot-compiler-dev