Paper Abstract and Keywords |
Presentation |
2015-10-14 11:10
Memoization Refactoring based on Purity Analysis Jiachen Yang, Keisuke Hotta, Yoshiki Higo, Shinji Kusumoto (Osaka Univ.) SS2015-43 DC2015-33 |
Abstract |
(in Japanese) |
(See Japanese page) |
(in English) |
Memoization refactoring is a refactoring pattern that caches the result of a given function and returns the same result when the function gets called afterward with the same set of arguments. The purpose of this refactoring is to reduce duplicated calculations and trade the CPU time with the memory usage.
Traditionally it is tricky to apply this refactoring manually, as the return value of the function may depend on internal states that may change between the function calls. This largely prevents the programmers from adopting the Memoization refactoring.
In this research, we will propose an approach to apply the Memoization refactoring on Java member methods, by using detailed side-effects information about the target method that gathered from a purity analysis tool called purano.
We practised the soundness of our approach on open-source Java libraries and observed improvements in performance and preservation of semantics by running a profiler on the bundled test cases on these libraries. |
Keyword |
(in Japanese) |
(See Japanese page) |
(in English) |
memoization refactoring / purity analysis / static analysis / / / / / |
Reference Info. |
IEICE Tech. Rep., vol. 115, no. 248, SS2015-43, pp. 47-52, Oct. 2015. |
Paper # |
SS2015-43 |
Date of Issue |
2015-10-06 (SS, DC) |
ISSN |
Print edition: ISSN 0913-5685 Online edition: ISSN 2432-6380 |
Copyright and reproduction |
All rights are reserved and no part of this publication may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopy, recording, or any information storage and retrieval system, without permission in writing from the publisher. Notwithstanding, instructors are permitted to photocopy isolated articles for noncommercial classroom use without fee. (License No.: 10GA0019/12GB0052/13GB0056/17GB0034/18GB0034) |
Download PDF |
SS2015-43 DC2015-33 |
Conference Information |
Committee |
DC SS |
Conference Date |
2015-10-13 - 2015-10-14 |
Place (in Japanese) |
(See Japanese page) |
Place (in English) |
Todaiji Culture Center (Nara) |
Topics (in Japanese) |
(See Japanese page) |
Topics (in English) |
Software System, Dependability in Network |
Paper Information |
Registration To |
SS |
Conference Code |
2015-10-DC-SS |
Language |
English |
Title (in Japanese) |
(See Japanese page) |
Sub Title (in Japanese) |
(See Japanese page) |
Title (in English) |
Memoization Refactoring based on Purity Analysis |
Sub Title (in English) |
|
Keyword(1) |
memoization refactoring |
Keyword(2) |
purity analysis |
Keyword(3) |
static analysis |
Keyword(4) |
|
Keyword(5) |
|
Keyword(6) |
|
Keyword(7) |
|
Keyword(8) |
|
1st Author's Name |
Jiachen Yang |
1st Author's Affiliation |
Osaka University (Osaka Univ.) |
2nd Author's Name |
Keisuke Hotta |
2nd Author's Affiliation |
Osaka University (Osaka Univ.) |
3rd Author's Name |
Yoshiki Higo |
3rd Author's Affiliation |
Osaka University (Osaka Univ.) |
4th Author's Name |
Shinji Kusumoto |
4th Author's Affiliation |
Osaka University (Osaka Univ.) |
5th Author's Name |
|
5th Author's Affiliation |
() |
6th Author's Name |
|
6th Author's Affiliation |
() |
7th Author's Name |
|
7th Author's Affiliation |
() |
8th Author's Name |
|
8th Author's Affiliation |
() |
9th Author's Name |
|
9th Author's Affiliation |
() |
10th Author's Name |
|
10th Author's Affiliation |
() |
11th Author's Name |
|
11th Author's Affiliation |
() |
12th Author's Name |
|
12th Author's Affiliation |
() |
13th Author's Name |
|
13th Author's Affiliation |
() |
14th Author's Name |
|
14th Author's Affiliation |
() |
15th Author's Name |
|
15th Author's Affiliation |
() |
16th Author's Name |
|
16th Author's Affiliation |
() |
17th Author's Name |
|
17th Author's Affiliation |
() |
18th Author's Name |
|
18th Author's Affiliation |
() |
19th Author's Name |
|
19th Author's Affiliation |
() |
20th Author's Name |
|
20th Author's Affiliation |
() |
Speaker |
Author-1 |
Date Time |
2015-10-14 11:10:00 |
Presentation Time |
30 minutes |
Registration for |
SS |
Paper # |
SS2015-43, DC2015-33 |
Volume (vol) |
vol.115 |
Number (no) |
no.248(SS), no.249(DC) |
Page |
pp.47-52 |
#Pages |
6 |
Date of Issue |
2015-10-06 (SS, DC) |
|