RFR: 8154041: JVMTI to Unified Logging
Coleen Phillimore
coleen.phillimore at oracle.com
Tue Apr 19 20:01:00 UTC 2016
On 4/19/16 3:40 PM, Robbin Ehn wrote:
> Hi Coleen,
>
> Unfortunately, this was pushed.
> Sorry for being a bit trigger happy here.
That's ok, you're on an earlier timezone than I am.
>
> On 04/19/2016 04:51 PM, Coleen Phillimore wrote:
>> http://cr.openjdk.java.net/~rehn/8154041/webrev/src/share/vm/prims/jvmtiImpl.hpp.udiff.html
>>
>>
>> Usually the print() functions have no arguments and the print_on()
>> functions have the outputStream arguments. Could you add print_on()
>> instead?
>>
>> print() is usually void print() { print_on(tty); }
>
> I'll send out a bug-fix for this!
That would be good. There are probably other places where this is like
this. It would be nice if it were consistent.
>
>>
>>
>>
>> http://cr.openjdk.java.net/~rehn/8154041/webrev/src/share/vm/prims/jvmtiExport.cpp.udiff.html
>>
>>
>> It would be nice to not have these as macros, and have inline static
>> functions but if
>>
>> JvmtiTrace::event_trace_flags(evt)
>>
>>
>> doesn't evaluate to a constant, I guess you need them.
>>
>> http://cr.openjdk.java.net/~rehn/8154041/webrev/src/share/vm/prims/jvmtiEventController.cpp.udiff.html
>>
>>
>> Same here.
>
> Ill leave them as they are, ok?
>
Yes, this is fine.
Coleen
>>
>> Otherwise looks good.
>
> Thanks!
>
> /Robbin
>
>>
>> From this RFR it looks like you were going to add a tag 'ec' and
>> 'ieost' which are meaningless combinations of letters, but I don't
>> see this tag addition.
>> Thanks,
>> Coleen
>>
>>
>>
>> On 4/19/16 5:07 AM, Marcus Larsson wrote:
>>> Hi,
>>>
>>> On 04/14/2016 01:36 PM, Robbin Ehn wrote:
>>>> Hi all,
>>>>
>>>> Please review:
>>>>
>>>> This moves jvmti trace output to the tag jvmti on trace level.
>>>>
>>>> The jvmti trace argument e.g. "-XX:TraceJVMTI=ec+ieost,all+ieost"
>>>> have a lot of functionality, e.g. can filter on func, in/out, etc,
>>>> so it if left as is.
>>>>
>>>> TraceJVMTI enables jvmti trace to stdout if no other -Xlog for
>>>> jvmti tag is set.
>>>>
>>>> Webrev: http://cr.openjdk.java.net/~rehn/8154041/
>>>
>>> In jvmtiExport.cpp:
>>> Maybe we should remove the commented trace calls while at it? I'm
>>> thinking of lines 639-641 and 677-681. Maybe they could be
>>> un-commented as well, I'm not sure.
>>>
>>> Also, there is (pre-existing) trailing whitespace in a bunch of the
>>> messages which I think we can remove (line 2203 for example).
>>>
>>> Other than that, I think this looks good!
>>>
>>> Thanks,
>>> Marcus
>>>
>>>> Bug: https://bugs.openjdk.java.net/browse/JDK-8154041
>>>>
>>>> Thanks!
>>>>
>>>> /Robbin
>>>
>>
>
More information about the hotspot-runtime-dev
mailing list