You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "bd2019us (JIRA)" <ji...@apache.org> on 2019/04/14 02:29:00 UTC
[jira] [Updated] (CLOUDSTACK-10408) change String.replaceAll() to
replace() to improve performance.
[ https://issues.apache.org/jira/browse/CLOUDSTACK-10408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
bd2019us updated CLOUDSTACK-10408:
----------------------------------
Attachment: 1.patch
> change String.replaceAll() to replace() to improve performance.
> ---------------------------------------------------------------
>
> Key: CLOUDSTACK-10408
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10408
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the default.)
> Reporter: bd2019us
> Priority: Major
> Attachments: 1.patch
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Location:
> (1) framework/ipc/src/main/java/org/apache/cloudstack/framework/serializer/OnwireClassRegistry.java
> (2) plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
> (3) plugins/hypervisors/vmware/src/main/java/com/cloud/hypervisor/vmware/manager/VmwareStorageManagerImpl.java
> (4) server/src/main/java/com/cloud/user/AccountManagerImpl.java
> When the replaced string is not represented as a regular expression, the String.replace() should be used to gain a better performance since it does not perform pre-compiling, which may cost some additional time.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)