{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,6,19]],"date-time":"2025-06-19T04:30:12Z","timestamp":1750307412296,"version":"3.41.0"},"reference-count":54,"publisher":"Association for Computing Machinery (ACM)","issue":"2","license":[{"start":{"date-parts":[[2010,8,1]],"date-time":"2010-08-01T00:00:00Z","timestamp":1280620800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"funder":[{"DOI":"10.13039\/100000144","name":"Division of Computer and Network Systems","doi-asserted-by":"publisher","award":["CNS-07-09217CNS-08-08913"],"award-info":[{"award-number":["CNS-07-09217CNS-08-08913"]}],"id":[{"id":"10.13039\/100000144","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Softw. Eng. Methodol."],"published-print":{"date-parts":[[2010,8]]},"abstract":"<jats:p>Dynamic aspect-oriented (AO) features have important software engineering benefits such as allowing unanticipated software evolution and maintenance. It is thus important to efficiently support these features in language implementations. Current implementations incur unnecessary design-time and runtime overhead due to the lack of support in underlying intermediate language (IL) models. To address this problem, we present a flexible and dynamic IL model that we call<jats:italic>Nu<\/jats:italic>. The<jats:italic>Nu<\/jats:italic>model provides a higher level of abstraction compared to traditional object-oriented ILs, making it easier to efficiently support dynamic AO features. We demonstrate these benefits by providing an industrial-strength VM implementation for<jats:italic>Nu<\/jats:italic>, by showing translation strategies from dynamic source-level constructs to<jats:italic>Nu<\/jats:italic>and by analyzing the performance of the resulting IL code.<\/jats:p><jats:p><jats:italic>Nu<\/jats:italic>'s VM extends the Sun Hotspot VM interpreter and uses a novel caching mechanism to significantly reduce the amortized costs of join point dispatch. Our evaluation using standard benchmarks shows that the overhead of supporting a dynamic deployment model can be reduced to as little as \u02dc1.5%.<jats:italic>Nu<\/jats:italic>provides an improved compilation target for dynamic deployment features, which makes it easier to support such features with corresponding software engineering benefits in software evolution and maintenance and in runtime verification.<\/jats:p>","DOI":"10.1145\/1824760.1824764","type":"journal-article","created":{"date-parts":[[2010,9,7]],"date-time":"2010-09-07T15:48:20Z","timestamp":1283874500000},"page":"1-34","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":4,"title":["Supporting dynamic aspect-oriented features"],"prefix":"10.1145","volume":"20","author":[{"given":"Robert","family":"Dyer","sequence":"first","affiliation":[{"name":"Iowa State University, Ames, Ames, IA"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Hridesh","family":"Rajan","sequence":"additional","affiliation":[{"name":"Iowa State University, Ames, Ames, IA"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"320","published-online":{"date-parts":[[2010,9,8]]},"reference":[{"key":"e_1_2_1_1_1","unstructured":"Agesen O. and Detlefs D. 2000. Mixed-mode bytecode execution. TR-2000-87 Sun Microsystems Inc. Agesen O. and Detlefs D. 2000. Mixed-mode bytecode execution. TR-2000-87 Sun Microsystems Inc."},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.1145\/1094811.1094839"},{"key":"e_1_2_1_3_1","volume-title":"Transactions on Aspect-Oriented Software Development I. Lecture Notes in Computer Science","volume":"3880","author":"Aracic I.","unstructured":"Aracic , I. , Gasiunas , V. , Mezini , M. , and Ostermann , K . 2006. An overview of CaesarJ . In Transactions on Aspect-Oriented Software Development I. Lecture Notes in Computer Science , vol. 3880 , Springer, Berlin, 135--173. Aracic, I., Gasiunas, V., Mezini, M., and Ostermann, K. 2006. An overview of CaesarJ. In Transactions on Aspect-Oriented Software Development I. Lecture Notes in Computer Science, vol. 3880, Springer, Berlin, 135--173."},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.1145\/1052898.1052906"},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1145\/1064978.1065026"},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.1145\/1297105.1297070"},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.1147\/sj.442.0399"},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.1145\/508386.508396"},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.1145\/336512.336534"},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.1145\/1167515.1167483"},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.1145\/976270.976282"},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1145\/1167473.1167484"},{"volume-title":"Proceedings of the Dynamic Aspects Workshop (DAW'05)","author":"Bockisch C.","key":"e_1_2_1_13_1","unstructured":"Bockisch , C. , Mezini , M. , and Ostermann , K . 2005. Quantifying over dynamic properties of program execution . In Proceedings of the Dynamic Aspects Workshop (DAW'05) . 71--75. Bockisch, C., Mezini, M., and Ostermann, K. 2005. Quantifying over dynamic properties of program execution. In Proceedings of the Dynamic Aspects Workshop (DAW'05). 71--75."},{"volume-title":"Workshop on Open Aspect Languages.","author":"Bodden E.","key":"e_1_2_1_14_1","unstructured":"Bodden , E. and Stolz , V . 2006. Efficient temporal pointcuts through dynamic advice deployment . In Workshop on Open Aspect Languages. Bodden, E. and Stolz, V. 2006. Efficient temporal pointcuts through dynamic advice deployment. In Workshop on Open Aspect Languages."},{"key":"e_1_2_1_15_1","series-title":"Lecture Notes in Computer Science","volume-title":"Proceedings of the Workshop on Object-Oriented Technology","author":"B\u00f6llert K.","unstructured":"B\u00f6llert , K. 1999. On weaving aspects . In Proceedings of the Workshop on Object-Oriented Technology . Lecture Notes in Computer Science , vol. 1743 , Springer , Berlin , 301--302. B\u00f6llert, K. 1999. On weaving aspects. In Proceedings of the Workshop on Object-Oriented Technology. Lecture Notes in Computer Science, vol. 1743, Springer, Berlin, 301--302."},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.1145\/1297027.1297069"},{"key":"e_1_2_1_17_1","doi-asserted-by":"crossref","unstructured":"Douence R. Fradet P. and Sudholt M. 2004. Trace-Based Aspects. Addison-Wesley 141--150. Douence R. Fradet P. and Sudholt M. 2004. Trace-Based Aspects. Addison-Wesley 141--150.","DOI":"10.1145\/976270.976288"},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.1145\/1507504.1507508"},{"key":"e_1_2_1_19_1","doi-asserted-by":"publisher","DOI":"10.1145\/1353482.1353504"},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1145\/976270.976278"},{"key":"e_1_2_1_21_1","volume-title":"Proceedings of the European Conference on Object-Oriented Programming (ECOOP'97)","volume":"4609","author":"Haupt M.","unstructured":"Haupt , M. and Schippers , H . 2007. A machine model for aspect-oriented programming . In Proceedings of the European Conference on Object-Oriented Programming (ECOOP'97) . Lecture Notes in Computer Science , vol. 4609 , Springer, Berlin, 501--524. Haupt, M. and Schippers, H. 2007. A machine model for aspect-oriented programming. In Proceedings of the European Conference on Object-Oriented Programming (ECOOP'97). Lecture Notes in Computer Science, vol. 4609, Springer, Berlin, 501--524."},{"key":"e_1_2_1_22_1","doi-asserted-by":"publisher","DOI":"10.1145\/976270.976276"},{"key":"e_1_2_1_23_1","unstructured":"Hirschfeld R. 2002. Aspect-oriented programming with AspectS. In Net.Object Days'02. Hirschfeld R. 2002. Aspect-oriented programming with AspectS. In Net.Object Days'02."},{"key":"e_1_2_1_24_1","series-title":"Lecture Notes in Computer Science","volume-title":"Objects, Components, Architectures, Services, and Applications for a Networked World","author":"Hirschfeld R.","unstructured":"Hirschfeld , R. 2003. AspectS\u2014aspect-oriented programming with Squeak . In Objects, Components, Architectures, Services, and Applications for a Networked World . Lecture Notes in Computer Science , vol. 2591 , Springer , Berlin , 216--232. Hirschfeld, R. 2003. AspectS\u2014aspect-oriented programming with Squeak. In Objects, Components, Architectures, Services, and Applications for a Networked World. Lecture Notes in Computer Science, vol. 2591, Springer, Berlin, 216--232."},{"key":"e_1_2_1_25_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.cl.2005.09.003"},{"key":"e_1_2_1_26_1","doi-asserted-by":"publisher","DOI":"10.1145\/233561.233562"},{"volume-title":"Personal communication with H. Rajan at AOSD'07","author":"Kiczales G.","key":"e_1_2_1_27_1","unstructured":"Kiczales , G. 2007. Personal communication with H. Rajan at AOSD'07 . Kiczales, G. 2007. Personal communication with H. Rajan at AOSD'07."},{"key":"e_1_2_1_28_1","volume-title":"Proceedings of the European Conference on Object-Oriented Programming (ECOOP'01)","volume":"2072","author":"Kiczales G.","unstructured":"Kiczales , G. , Hilsdale , E. , Hugunin , J. , Kersten , M. , Palm , J. , and Griswold , W. G . 2001. An overview of AspectJ . In Proceedings of the European Conference on Object-Oriented Programming (ECOOP'01) . Lecture Notes in Computer Science , vol. 2072 , Springer, Berlin, 327--353. Kiczales, G., Hilsdale, E., Hugunin, J., Kersten, M., Palm, J., and Griswold, W. G. 2001. An overview of AspectJ. In Proceedings of the European Conference on Object-Oriented Programming (ECOOP'01). Lecture Notes in Computer Science, vol. 2072, Springer, Berlin, 327--353."},{"key":"e_1_2_1_29_1","volume-title":"Proceedings of the European Conference on Object-Oriented Programming (ECOOP'97)","volume":"1241","author":"Kiczales G.","unstructured":"Kiczales , G. , Lamping , J. , Mendhekar , A. , Maeda , C. , Lopes , C. V. , Loingtier , J.-M. , and Irwin , J . 1997. Aspect-oriented programming . In Proceedings of the European Conference on Object-Oriented Programming (ECOOP'97) . Lecture Notes in Computer Science , vol. 1241 , Springer, Berlin, 220--242. Kiczales, G., Lamping, J., Mendhekar, A., Maeda, C., Lopes, C. V., Loingtier, J.-M., and Irwin, J. 1997. Aspect-oriented programming. In Proceedings of the European Conference on Object-Oriented Programming (ECOOP'97). Lecture Notes in Computer Science, vol. 1241, Springer, Berlin, 220--242."},{"key":"e_1_2_1_30_1","doi-asserted-by":"publisher","DOI":"10.5555\/646156.679712"},{"volume-title":"Proceedings of the IEEE Workshop on Source Code. IEEE","author":"Kniesel G.","key":"e_1_2_1_31_1","unstructured":"Kniesel , G. , Costanza , P. , and Austermann , M . 2001. Jmangler: A framework for load-time transformation of Java class files . In Proceedings of the IEEE Workshop on Source Code. IEEE , Los Alamitos, CA, 100--110. Kniesel, G., Costanza, P., and Austermann, M. 2001. Jmangler: A framework for load-time transformation of Java class files. In Proceedings of the IEEE Workshop on Source Code. IEEE, Los Alamitos, CA, 100--110."},{"key":"e_1_2_1_32_1","doi-asserted-by":"publisher","DOI":"10.1002\/spe.384"},{"key":"e_1_2_1_33_1","doi-asserted-by":"publisher","DOI":"10.1145\/949343.949307"},{"key":"e_1_2_1_34_1","doi-asserted-by":"publisher","DOI":"10.1109\/MS.1998.646878"},{"key":"e_1_2_1_35_1","doi-asserted-by":"publisher","DOI":"10.1145\/286936.286945"},{"key":"e_1_2_1_36_1","volume-title":"Proceedings of the 14th European Conference on Object-Oriented Programming (ECOOP'00)","volume":"1850","author":"Malabarba S.","unstructured":"Malabarba , S. , Pandey , R. , Gragg , J. , Barr , E. , and Barnes , J. F . 2000. Runtime support for typesafe dynamic Java classes . In Proceedings of the 14th European Conference on Object-Oriented Programming (ECOOP'00) . Lecture Notes in Computer Science , vol. 1850 , Springer, Berlin, 337--361. Malabarba, S., Pandey, R., Gragg, J., Barr, E., and Barnes, J. F. 2000. Runtime support for typesafe dynamic Java classes. In Proceedings of the 14th European Conference on Object-Oriented Programming (ECOOP'00). Lecture Notes in Computer Science, vol. 1850, Springer, Berlin, 337--361."},{"key":"e_1_2_1_37_1","doi-asserted-by":"publisher","DOI":"10.1145\/1103845.1094840"},{"key":"e_1_2_1_38_1","doi-asserted-by":"publisher","DOI":"10.1007\/11924661_8"},{"key":"e_1_2_1_39_1","volume-title":"Compiler Construction. Lecture Notes in Computer Science","volume":"2622","author":"Masuhara H.","unstructured":"Masuhara , H. , Kiczales , G. , and Dutchyn , C . 2003. A compilation and optimization model for aspect-oriented programs . In Compiler Construction. Lecture Notes in Computer Science , vol. 2622 , Springer, Berlin, 46--60. Masuhara, H., Kiczales, G., and Dutchyn, C. 2003. A compilation and optimization model for aspect-oriented programs. In Compiler Construction. Lecture Notes in Computer Science, vol. 2622, Springer, Berlin, 46--60."},{"key":"e_1_2_1_40_1","doi-asserted-by":"publisher","DOI":"10.1145\/128749.128755"},{"key":"e_1_2_1_41_1","doi-asserted-by":"publisher","DOI":"10.1016\/S0164-1212(02)00157-7"},{"key":"e_1_2_1_42_1","doi-asserted-by":"publisher","DOI":"10.1145\/1230136.1230141"},{"volume-title":"Proceedings of the Java Virtual Machine Research and Technology Symposium.","author":"Paleczny M.","key":"e_1_2_1_43_1","unstructured":"Paleczny , M. , Vick , C. , and Click , C . 2001. The Java HotSpot server compiler . In Proceedings of the Java Virtual Machine Research and Technology Symposium. Paleczny, M., Vick, C., and Click, C. 2001. The Java HotSpot server compiler. In Proceedings of the Java Virtual Machine Research and Technology Symposium."},{"key":"e_1_2_1_44_1","doi-asserted-by":"publisher","DOI":"10.1145\/643603.643614"},{"key":"e_1_2_1_45_1","doi-asserted-by":"publisher","DOI":"10.1145\/508386.508404"},{"volume-title":"Proceedings of the Software Engineering Properties of Languages and Aspect Technologies (SPLAT'06)","author":"Rajan H.","key":"e_1_2_1_46_1","unstructured":"Rajan , H. , Dyer , R. , Hanna , Y. , and Narayanappa , H . 2006. Preserving separation of concerns through compilation . In Proceedings of the Software Engineering Properties of Languages and Aspect Technologies (SPLAT'06) . Rajan, H., Dyer, R., Hanna, Y., and Narayanappa, H. 2006. Preserving separation of concerns through compilation. In Proceedings of the Software Engineering Properties of Languages and Aspect Technologies (SPLAT'06)."},{"key":"e_1_2_1_47_1","doi-asserted-by":"publisher","DOI":"10.1145\/940071.940111"},{"key":"e_1_2_1_48_1","first-page":"59","article-title":"Classpects: Unifying aspect- and object-oriented language design","volume":"30","author":"Rajan H.","year":"2005","unstructured":"Rajan , H. and Sullivan , K. J. 2005 . Classpects: Unifying aspect- and object-oriented language design . ACM SIGSOFT Softw. Engin. Notes 30 , 5, 59 -- 68 . Rajan, H. and Sullivan, K. J. 2005. Classpects: Unifying aspect- and object-oriented language design. ACM SIGSOFT Softw. Engin. Notes 30, 5, 59--68.","journal-title":"ACM SIGSOFT Softw. Engin. Notes"},{"key":"e_1_2_1_49_1","doi-asserted-by":"publisher","DOI":"10.1145\/976270.976275"},{"key":"e_1_2_1_50_1","doi-asserted-by":"publisher","DOI":"10.1145\/1394496.1394497"},{"key":"e_1_2_1_51_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.entcs.2006.02.007"},{"key":"e_1_2_1_52_1","doi-asserted-by":"publisher","DOI":"10.1145\/643603.643606"},{"key":"e_1_2_1_53_1","unstructured":"Uwe M\u00e4tzel K. and Schnorf P. 1997. Dynamic component adaptation. 97-6-1 Union Bank of Switzerland. Uwe M\u00e4tzel K. and Schnorf P. 1997. Dynamic component adaptation. 97-6-1 Union Bank of Switzerland."},{"key":"e_1_2_1_54_1","doi-asserted-by":"publisher","DOI":"10.1145\/1029894.1029918"}],"container-title":["ACM Transactions on Software Engineering and Methodology"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/1824760.1824764","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/1824760.1824764","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,18]],"date-time":"2025-06-18T11:39:33Z","timestamp":1750246773000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/1824760.1824764"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2010,8]]},"references-count":54,"journal-issue":{"issue":"2","published-print":{"date-parts":[[2010,8]]}},"alternative-id":["10.1145\/1824760.1824764"],"URL":"https:\/\/doi.org\/10.1145\/1824760.1824764","relation":{},"ISSN":["1049-331X","1557-7392"],"issn-type":[{"type":"print","value":"1049-331X"},{"type":"electronic","value":"1557-7392"}],"subject":[],"published":{"date-parts":[[2010,8]]},"assertion":[{"value":"2008-06-01","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2009-06-01","order":1,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2010-09-08","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}