<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
i don't know about that (maybe someone on the list knows where one<br>
can download pre-built non-product binaries from), but if you are
set up to<br>
build hotspot, you would use target fastdebug.<br>
<br>
-- ramki<br>
<br>
On 8/25/2011 2:34 PM, suraj puvvada wrote:
<blockquote
cite="mid:CA+DdUfGxxWZGLe1fou7pCV59HcOmBX1FJ8NT69BQTOmW-PZaGQ@mail.gmail.com"
type="cite"><font face="tahoma,sans-serif">Thanks. <br>
<br>
Are the non-product builds available online to download ? <br>
<br>
-Suraj<br>
</font><br>
<div class="gmail_quote">On Thu, Aug 25, 2011 at 1:37 PM, Ramki
Ramakrishna <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:y.s.ramakrishna@oracle.com">y.s.ramakrishna@oracle.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000"> Hi Suraj --<br>
<br>
Either:<br>
<br>
(1) use a non-product build where the flag is available, OR<br>
<br>
(2) rebuild with Verbose declared a product flag (but you
will have to deal with<br>
develop->product contagion which will require more
such changes), OR<br>
<br>
(3) (probably the easiest in a specific product build)
rebuild with Verbose changed to<br>
a new product flag of your choice for the specific
sites where you want to print the info<br>
but want to retain the option of turning it off.
Depending on where you do this, this<br>
may also cause a develop->product contagion, but it
will be a more controlled burn, if<br>
i may be allowed to mix my metaphors.<br>
<br>
(..) anything else?<br>
<br>
The above are all one-off's for use in a specific build.<br>
<br>
There may be good reason to protect some of these more
useful messages with a product<br>
flag rather than with a develop flag. I recall Krystal Mok
also mentioning something similar.<br>
Perhaps the community can work on what are the kinds of
messages one might want to<br>
see in production (under control of a suitable
manageable/product flag), and submit an OpenJDK<br>
patch with those changes (hopefully the performance impact
of the check or enablement<br>
will be minor enough when these changes are for example
communicating ergonomic<br>
decisions etc. -- this should of course be performance
checked before a patch is submitted).<br>
<br>
I'm also hoping that in the future some of these may be
captured by the logging framework<br>
under construction. Those working on or planning to work on
the logging framework may hav<br>
more to add. So I am cc'ing the serviceability alias as
well.<br>
<font color="#888888"> <br>
-- ramki</font>
<div>
<div class="h5"><br>
<br>
On 8/25/2011 12:58 PM, suraj puvvada wrote:
<blockquote type="cite"><font face="tahoma,sans-serif">Hi,<br>
<br>
How can I enable DEVELOP mode flags like "Verbose" ?
I'm interested in seeing what the GC code logs - for
example :<br>
<br>
if (PrintGCDetails && Verbose) {<br>
gclog_or_tty->print_cr("ConcurrentMarkSweepGeneration::shrink_by:"<br>
" desired_bytes " SIZE_FORMAT<br>
" shrinkable_size_in_bytes " SIZE_FORMAT<br>
" aligned_shrinkable_size_in_bytes "
SIZE_FORMAT<br>
" bytes " SIZE_FORMAT,<br>
desired_bytes, shrinkable_size_in_bytes,<br>
aligned_shrinkable_size_in_bytes, bytes);<br>
gclog_or_tty->print_cr(" old_end
" SIZE_FORMAT<br>
" unallocated_start " SIZE_FORMAT,<br>
old_end, unallocated_start);<br>
}<br>
<br>
<br>
-Suraj<br>
</font> </blockquote>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</blockquote>
</body>
</html>