Review request: Minimal VM: undefined symbol:	_ZN23JvmtiCurrentBreakpoints11metadata_doEPFvP8MetadataE
    David Holmes 
    david.holmes at oracle.com
       
    Thu Nov 14 20:45:33 PST 2013
    
    
  
Hi Joe,
On 15/11/2013 6:35 AM, Joseph Provino wrote:
>
> webrev is here:
>
> http://cr.openjdk.java.net/~jprovino/8028396/webrev.00/
> <http://cr.openjdk.java.net/%7Ejprovino/8028396/webrev.00/>
As per other email I think the more appropriate fix here is to guard the 
callsite in MetadataOnStackMark as JVMTI_ONLY:
JVMTI_ONLY(JvmtiCurrentBreakpoints::metadata_do(Metadata::mark_on_stack));
Any code that uses an optional facility, like JVMTI or other GC or 
tracing etc, has to guard that use. It would probably be better if there 
was also guards in the jvmtiImpl.hpp file so that this issue would have 
been detected at build time. I know this isn't necessarily trivial 
because we have to retain sufficient parts of JVMTI to provide the base 
API that can report that JVMTI functionality is not available - but I 
don't think JvmtiCurrentBreakPoints falls into that category.
Thanks,
David
> thanks.
>
> joe
    
    
More information about the hotspot-dev
mailing list