From: Ian R. <ian...@ma...> - 2006-10-25 13:43:20
|
I was looking for suppress warnings in a name, and then I found UninterruptibleNoWarn - so the functionality I want is already present. Neat. Ian Ian Rogers wrote: > Hi, > > I've extended the statics so that we can at boot image write time get > the value of statics. This is a very worthy thing to do as it means the > optimizing compiler can access objects in the JTOC at boot image write > time. Previously/currently we have all manner of fudges and requirements > to make sure we don't trip over this problem, in particular for string > constants. Unfortunately the approach I've taken adds an aastore > instruction to setSlotContents (this is fairly unavoidable given the > situation) which the boot image compiler flags as being a forbidden > bytecode in this uninterruptible method. The truth is that the aastore > bytecode may only ever be executed when writing the boot image, but of > course the baseline compiler is too dumb to know this. What I'd like to > do is create a suppress warning pragma, these are common place with > annotations and one of their widest uses. Unfortunately we're not as far > along running with generics as I'd like, so I'll have to use a pragma > exception. The alternative is just to live with seeing a warning. > > I thought adding a pragma might in someway be controversial so I'd float > the idea here first. > > Thanks, > > Ian > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Jikesrvm-core mailing list > Jik...@li... > https://lists.sourceforge.net/lists/listinfo/jikesrvm-core > |