RFR (S): 8135025: Error message is repeated for large value at G1ConcRefinementThreads
Thomas Schatzl
thomas.schatzl at oracle.com
Tue Sep 8 20:17:30 UTC 2015
Hi,
On Tue, 2015-09-08 at 12:28 -0700, sangheon.kim wrote:
> Hi all,
>
> After some discussion, I decided to propose this webrev.01 version which
> has different style from webrev.00.
>
> The difference is to add public factory function and privatize the
> constructor.
> So that newly added 'public bool initialize_threads() (from webrev.00)'
> is not needed.
> With this approach we can minimize public function and handle the error
> situation correctly.
>
> Can I get some reviews for this?
> http://cr.openjdk.java.net/~sangheki/8135025/webrev.01/
- what's the purpose of "returning" an error code when the next
statement will shut down the VM?
E.g.
56 *ecode = JNI_ENOMEM;
57 vm_shutdown_during_initialization("Could not create ConcurrentG1Refine");
58 return NULL;
- please add a sentence as documentation what
ConcurrentG1Refine::create() is supposed to create/do.
Thanks,
Thomas
More information about the hotspot-gc-dev
mailing list