Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6472143
Votes 0
Synopsis extend CompilerOracle with per compile flags
Category hotspot:compiler2
Reported Against
Release Fixed hs10(b03), 6u4(b03) (Bug ID:2171837) , 7(b03) (Bug ID:2176771)
State 10-Fix Delivered, request for enhancement
Priority: 4-Low
Related Bugs
Submit Date 18-SEP-2006
Description
Often when making changes in the compiler it can be useful to have flags that are set for particular compiles as a way to narrow down the cause of performance differences.  It's also useful for experimentation since you can special behaviour.  This similar to the print command in the CompilerOracle but generalized to arbitrary strings.  It can be used to wrap around existing compilation flags or to make up new flags as needed during development.
Posted Date : 2006-09-18 23:38:00.0
Work Around
N/A
Evaluation
Added a new syntax in the oracle like so:

option java/lang/String hashCode foo

Then in the VM if you have a methodOop or ciMethod that refers to String.hashCode you can say method->has_option("foo") and it will return true
Posted Date : 2006-09-18 23:41:26.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang