tracker issue : CF-4174749

select a category, or use search below
(searches all categories and all time range)
Title:

cfquery's coldfusion.tagext.sql.QueryTag.maskDateTimeColumns() is slow with sandbox security enabled

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/Duplicate

Reporter/Name(from Bugbase): Henry Ho / Henry Ho (Henry Ho)

Created: 07/21/2016

Components: Performance

Versions: 11.0

Failure Type: Performance Issue

Found In Build/Fixed In Build: CF11_Final /

Priority/Frequency: Major / All users will encounter

Locale/System: English / Win All

Vote Count: 0

Duplicate ID:	CF-4173670

Problem Description:

VisualVM hotspot trace shows that coldfusion.tagext.sql.QueryTag.maskDateTimeColumns() from <cfquery> invokes java.lang.System.getProperty() which is slow with sandbox security enabled


Steps to Reproduce:

Use <cfquery> with sandbox security on, and do a cpu snapshot to see trace

Actual Result:

-> coldfusion.tagext.sql.QueryTag.setQueryResult()
-> coldfusion.tagext.sql.QueryTag.maskDateTimeColumns()
-> java.lang.System.getProperty()

Expected Result:

- no repeated calls to java.lang.System.getProperty() which causes a permission check from Security Manager

Any Workarounds:

turn OFF sandbox security for performance.

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	4174749

External Customer Info:
External Company:  
External Customer Name: Henry Ho
External Customer Email:  
External Test Config: My Hardware and Environment details:

Attachments:

Comments:

Henry, I am closing this bug as duplicate. We will track this bug as part of other bug #CF-4173670 which you logged. -Nimit
Comment by Nimit S.
2147 | July 22, 2016 12:02:25 AM GMT