From: Omar J. <oma...@ou...> - 2016-04-10 21:03:48
|
Hi, I am having the same problem. In my case, the benchmark runs successfully with instrumentation, however, when using thisJoinPoint, it fails. For example, a simple aspect which would instrument Iterator next call-site would result in failure of tradebeans/tradesoap benchmark when using thisJoinPoint. public aspect NextCallInst{ pointcut next_pt(Iterator i) : (call(* Iterator.next()) && target(i)) && !adviceexecution(); before (Iterator i) : next_pt(i) { thisJoinPoint.toString(); } } Re: [dacapobench-researchers] Fwd: tradebeans and tradesoap fails when using aspectj thisJoinPointFrom: Steve Blackburn <steve.blackburn@an...> - 2016-03-15 04:02:46Attachments: Message as HTML Hi Jesper, I assume that you can run the benchmark fine without the instrumentation? If so, I’m afraid I don’t have any insights to offer — the bug is evidently a side effect of your instrumentation. If you discover the source of the problem, I’ll be interested to hear. Thanks, —Steve From: jesper stromblad <jesperstromblad13@...<mailto:jesperstromblad13@...>> Reply-To: "dacapobench-researchers@...<mailto:dacapobench-researchers@...>" <dacapobench-researchers@...<mailto:dacapobench-researchers@...>> Date: Monday, 14 March 2016 10:02 pm To: "dacapobench-researchers@...<mailto:dacapobench-researchers@...>" <dacapobench-researchers@...<mailto:dacapobench-researchers@...>> Subject: [dacapobench-researchers] Fwd: tradebeans and tradesoap fails when using aspectj thisJoinPoint Hi, I am using dacapo for the first time. I am getting an error when i try to get join point information in some of the analyses of JavaMOP e.g. UnsafeMapIterator pointcut UnsafeMapIterator_createColl(Map map) : ((call(* Map.values()) || call(* Map.keySet())) && target(map)) && MOP_CommonPointCut(); after (Map map) returning (Collection c) : UnsafeMapIterator_createColl(map) { UnsafeMapIteratorRuntimeMonitor.createCollEvent(map, c); getJPInfo(thisEnclosingJoinPointStaticPart.getSignature().getDeclaringType() + " "+thisJoinPoint.toShortString()); } Geronimo startup failed: org.apache.geronimo.kernel.config.LifecycleException: load of org.apache.geronimo.daytrader/daytrader-jetty/2.2-SNAPSHOT/car failed at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:328) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:281) at sun.reflect.GeneratedMethodAccessor30.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34) at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124) at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:832) at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57) at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35) at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96) at org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$32483481.loadConfiguration(<generated>) at org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:159) at org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:79) at org.dacapo.daytrader.DaCapoServerRunner$1.run(DaCapoServerRunner.java:45) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Error starting configuration gbean org.apache.geronimo.daytrader/daytrader-jetty/2.2-SNAPSHOT/car at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:181) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:313) ... 15 more Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: Configuration gbean failed to start org.apache.geronimo.daytrader/daytrader-jetty/2.2-SNAPSHOT/car reason: Unable to deserialize GBeanState in classloader: [org.apache.geronimo.kernel.config.MultiParentClassLoader id=org.apache.geronimo.daytrader/daytrader-jetty_web.war/2.2-SNAPSHOT/car] at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:164) ... 16 more Thanks, Jes |